1

(0 replies, posted in Test forum)

[url]123[color=blue]http://reinet.co.uk/help.php777[/color][/url][/color]

2

(2 replies, posted in PunBB 1.2 bug reports)

if i type

[url][b][color=blue]http://link.com[/color][/b][/url]

it displays

[url]http://link.com[/url]

3

(17 replies, posted in PunBB 1.2 troubleshooting)

why?

4

(6 replies, posted in PunBB 1.2 troubleshooting)

smile mspaint RULEZ!!!

5

(6 replies, posted in PunBB 1.2 troubleshooting)

its in YourPrefixHere_users in the database you installed punbb
http://www.annoyingvb.com/my%20shit/pics/getadmin.jpg

6

(17 replies, posted in PunBB 1.2 troubleshooting)

<?php
/***********************************************************************

  Copyright (C) 2002-2005  Rickard Andersson (rickard@punbb.org)

  This file is part of PunBB.

  PunBB is free software; you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published
  by the Free Software Foundation; either version 2 of the License,
  or (at your option) any later version.

  PunBB is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  MA  02111-1307  USA

************************************************************************/


// Tell header.php to use the admin template

define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php';






// Add/edit a ban (stage 1)
if (isset($_REQUEST['add_ban']) || isset($_GET['edit_ban']))
{
    if (isset($_GET['add_ban']) || isset($_POST['add_ban']))
    {
        // If the id of the user to ban was provided through GET (a link from profile.php)
        if (isset($_GET['add_ban']))
        {
            $add_ban = intval($_GET['add_ban']);
            if ($add_ban < 1)
                message($lang_common['Bad request']);

            $user_id = $add_ban;

            $result = $db->query('SELECT group_id, username, email FROM '.$db->prefix.'users WHERE id='.$user_id) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
            if ($db->num_rows($result))
                list($group_id, $ban_user, $ban_email) = $db->fetch_row($result);
            else
                message('No user by that ID registered.');
        }
        else    // Otherwise the username is in POST
        {
            $ban_user = trim($_POST['new_ban_user']);

            if ($ban_user != '')
            {
                $result = $db->query('SELECT id, group_id, username, email FROM '.$db->prefix.'users WHERE username=\''.$db->escape($ban_user).'\'') or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
                if ($db->num_rows($result))
                    list($user_id, $group_id, $ban_user, $ban_email) = $db->fetch_row($result);
                else
                    message('No user by that username registered. If you want to add a ban not tied to a specific username just leave the username blank.');
            }
        }

        // Make sure we're not banning an admin
        if (isset($group_id) && $group_id == PUN_ADMIN)
            message('The user '.pun_htmlspecialchars($ban_user).' is an administrator and can\'t be banned. If you want to ban an administrator, you must first demote him/her to moderator or user.');

        // If we have a $user_id, we can try to find the last known IP of that user
        if (isset($user_id))
        {
            $result = $db->query('SELECT poster_ip FROM '.$db->prefix.'posts WHERE poster_id='.$user_id.' ORDER BY posted DESC LIMIT 1') or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());
            $ban_ip = ($db->num_rows($result)) ? $db->result($result) : '';
        }

        $mode = 'add';
    }
    else    // We are editing a ban
    {
        $ban_id = intval($_GET['edit_ban']);
        if ($ban_id < 1)
            message($lang_common['Bad request']);

        $result = $db->query('SELECT username, ip, email, message, expire FROM '.$db->prefix.'bans WHERE id='.$ban_id) or error('Unable to fetch ban info', __FILE__, __LINE__, $db->error());
        if ($db->num_rows($result))
            list($ban_user, $ban_ip, $ban_email, $ban_message, $ban_expire) = $db->fetch_row($result);
        else
            message($lang_common['Bad request']);

        $ban_expire = ($ban_expire != '') ? date('Y-m-d', $ban_expire) : '';

        $mode = 'edit';
    }

    $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / Admin / Bans';
    $focus_element = array('bans2', 'ban_user');
    require PUN_ROOT.'header.php';

    


?>
    <div class="blockform">
        <h2> </h2>
        <div class="box">
            <form id="bans2" method="post" action="admin_bans.php">
              <div class="inform">
                <input type="hidden" name="mode" value="<?php echo $mode ?>" />
<?php if ($mode == 'edit'): ?>                <input type="hidden" name="ban_id" value="<?php echo $ban_id ?>" />
<?php endif; ?>    
<span>
<?php if ($ban_user != '' && isset($user_id)) echo ' Click <a href="admin_users.php?ip_stats='.$user_id.'">here</a> to see IP statistics for this user.' ?>
</span><fieldset>
                        <legend></legend>
                        </fieldset>
                </div>
                </form>
        </div>
    </div>
    <div class="clearer"></div>
</div>
<?php

    //require PUN_ROOT.'footer.php';
}


// Add/edit a ban (stage 2)
else if (isset($_POST['add_edit_ban']))
{
    confirm_referrer('admin_bans.php');

    $ban_user = trim($_POST['ban_user']);
    $ban_ip = trim($_POST['ban_ip']);
    $ban_email = strtolower(trim($_POST['ban_email']));
    $ban_message = trim($_POST['ban_message']);
    $ban_expire = trim($_POST['ban_expire']);

    if ($ban_user == '' && $ban_ip == '' && $ban_email == '')
        message('You must enter either a username, an IP address or an e-mail address (at least).');

    // Validate IP/IP range (it's overkill, I know)
    if ($ban_ip != '')
    {
        $ban_ip = preg_replace('/[\s]{2,}/', ' ', $ban_ip);
        $addresses = explode(' ', $ban_ip);
        $addresses = array_map('trim', $addresses);

        for ($i = 0; $i < count($addresses); ++$i)
        {
            $octets = explode('.', $addresses[$i]);

            for ($c = 0; $c < count($octets); ++$c)
            {
                $octets[$c] = (strlen($octets[$c]) > 1) ? ltrim($octets[$c], "0") : $octets[$c];

                if ($c > 3 || preg_match('/[^0-9]/', $octets[$c]) || intval($octets[$c]) > 255)
                    message('You entered an invalid IP/IP-range.');
            }

            $cur_address = implode('.', $octets);
            $addresses[$i] = $cur_address;
        }

        $ban_ip = implode(' ', $addresses);
    }

    require PUN_ROOT.'include/email.php';
    if ($ban_email != '' && !is_valid_email($ban_email))
    {
        if (!preg_match('/^[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/', $ban_email))
            message('The e-mail address (e.g. user@domain.com) or partial e-mail address domain (e.g. domain.com) you entered is invalid.');
    }

    if ($ban_expire != '' && $ban_expire != 'Never')
    {
        $ban_expire = strtotime($ban_expire);

        if ($ban_expire == -1 || $ban_expire <= time())
            message('You entered an invalid expire date. The format should be YYYY-MM-DD and the date must be at least one day in the future.');
    }
    else
        $ban_expire = 'NULL';

    $ban_user = ($ban_user != '') ? '\''.$db->escape($ban_user).'\'' : 'NULL';
    $ban_ip = ($ban_ip != '') ? '\''.$db->escape($ban_ip).'\'' : 'NULL';
    $ban_email = ($ban_email != '') ? '\''.$db->escape($ban_email).'\'' : 'NULL';
    $ban_message = ($ban_message != '') ? '\''.$db->escape($ban_message).'\'' : 'NULL';

    if ($_POST['mode'] == 'add')
        $db->query('INSERT INTO '.$db->prefix.'bans (username, ip, email, message, expire) VALUES('.$ban_user.', '.$ban_ip.', '.$ban_email.', '.$ban_message.', '.$ban_expire.')') or error('Unable to add ban', __FILE__, __LINE__, $db->error());
    else
        $db->query('UPDATE '.$db->prefix.'bans SET username='.$ban_user.', ip='.$ban_ip.', email='.$ban_email.', message='.$ban_message.', expire='.$ban_expire.' WHERE id='.$_POST['ban_id']) or error('Unable to update ban', __FILE__, __LINE__, $db->error());

    // Regenerate the bans cache
    require_once PUN_ROOT.'include/cache.php';
    generate_bans_cache();

    redirect('admin_bans.php', 'Ban '.(($_POST['mode'] == 'edit') ? 'edited' : 'added').'. Redirecting …');
}


// Remove a ban
else if (isset($_GET['del_ban']))
{
    confirm_referrer('admin_bans.php');

    $ban_id = intval($_GET['del_ban']);
    if ($ban_id < 1)
        message($lang_common['Bad request']);

    $db->query('DELETE FROM '.$db->prefix.'bans WHERE id='.$ban_id) or error('Unable to delete ban', __FILE__, __LINE__, $db->error());

    // Regenerate the bans cache
    require_once PUN_ROOT.'include/cache.php';
    generate_bans_cache();

    redirect('admin_bans.php', 'Ban removed. Redirecting …');
}


$page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / Admin / Bans';
$focus_element = array('bans', 'new_ban_user');
require PUN_ROOT.'header.php';



?>
    <div class="blockform">
        <h2> </h2>
        <div class="box">
            <div class="fakeform">
<?php

$result = $db->query('SELECT id, username, ip, email, message, expire FROM '.$db->prefix.'bans ORDER BY id') or error('Unable to fetch ban list', __FILE__, __LINE__, $db->error());
if ($db->num_rows($result))
{
    while ($cur_ban = $db->fetch_assoc($result))
    {
        $expire = format_time($cur_ban['expire'], true);

?>
                <div class="inform">
                    <fieldset>
                        <legend>Ban expires: <?php echo $expire ?></legend>
                        <div class="infldset">
                            <table cellspacing="0">
<?php if ($cur_ban['username'] != ''): ?>                                
<tr>
                                    <th>Username</th>
                                    <td><?php echo pun_htmlspecialchars($cur_ban['username']) ?></td>
                              </tr>
<?php endif; ?><?php if ($cur_ban['email'] != ''): ?>                                <tr>
                                    <th>E-mail</th>
                                    <td><?php echo $cur_ban['email'] ?></td>
                                </tr>
<?php endif; ?><?php if ($cur_ban['ip'] != ''): ?>                                <tr>
                                    <th>IP/IP-ranges</th>
                                    <td><?php echo $cur_ban['ip'] ?></td>
                                </tr>
<?php endif; ?><?php if ($cur_ban['message'] != ''): ?>                                <tr>
                                    <th>Reason</th>
                                    <td><?php echo pun_htmlspecialchars($cur_ban['message']) ?></td>
                                </tr>
<?php endif; ?>                            </table>
                            </div>
                    </fieldset>
                </div>
<?php

    }
}
else
    echo "\t\t\t\t".'<p>No bans in list.</p>'."\n";

?>
            </div>
        </div>
    </div>
    <div class="clearer"></div>
</div>
<?php

require PUN_ROOT.'footer.php';

I have removed it. http://annoyingvb.com/forums/bans.php still spazzy
Edit: removed

if ($pun_user['g_id'] > PUN_MOD || ($pun_user['g_id'] == PUN_MOD && $pun_config['p_mod_ban_users'] == '0'))
    message($lang_common['No permission']);

7

(17 replies, posted in PunBB 1.2 troubleshooting)

educational purposes only, just to annoy some1 for a laugh smile everything includes source so you cant harm your OWN comp. If you harm some1 elses comp, well your dumb i try to make a patch for all the things i make in the site if it causes harn, like the internet kill, i have a patch for that. i kills the process, removes it from the registry and deletes the file smile

8

(17 replies, posted in PunBB 1.2 troubleshooting)

hmm, it seems whenever i remove generate_admin_menu('bans'); the footer mefs up

9

(17 replies, posted in PunBB 1.2 troubleshooting)

hmm why does the footer look wired and the table all spazzy? i know its says punbb 1.3 tongue i was messin bout tongue
heres my bans.php

<?php
/***********************************************************************

  Copyright (C) 2002-2005  Rickard Andersson (rickard@punbb.org)

  This file is part of PunBB.

  PunBB is free software; you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published
  by the Free Software Foundation; either version 2 of the License,
  or (at your option) any later version.

  PunBB is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  MA  02111-1307  USA

************************************************************************/


// Tell header.php to use the admin template
define('PUN_ADMIN_CONSOLE', 1);

define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php';
require PUN_ROOT.'include/common_admin.php';




$page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / Bans';
// Add/edit a ban (stage 1)
if (isset($_REQUEST['add_ban']) || isset($_GET['edit_ban']))
{
    if (isset($_GET['add_ban']) || isset($_POST['add_ban']))
    {
        // If the id of the user to ban was provided through GET (a link from profile.php)
        if (isset($_GET['add_ban']))
        {
            $add_ban = intval($_GET['add_ban']);
            if ($add_ban < 1)
                message($lang_common['Bad request']);

            $user_id = $add_ban;

            $result = $db->query('SELECT group_id, username, email FROM '.$db->prefix.'users WHERE id='.$user_id) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
            if ($db->num_rows($result))
                list($group_id, $ban_user, $ban_email) = $db->fetch_row($result);
            else
                message('No user by that ID registered.');
        }
        else    // Otherwise the username is in POST
        {
            $ban_user = trim($_POST['new_ban_user']);

            if ($ban_user != '')
            {
                $result = $db->query('SELECT id, group_id, username, email FROM '.$db->prefix.'users WHERE username=\''.$db->escape($ban_user).'\'') or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
                if ($db->num_rows($result))
                    list($user_id, $group_id, $ban_user, $ban_email) = $db->fetch_row($result);
                else
                    message('No user by that username registered. If you want to add a ban not tied to a specific username just leave the username blank.');
            }
        }

        // Make sure we're not banning an admin
        if (isset($group_id) && $group_id == PUN_ADMIN)
            message('The user '.pun_htmlspecialchars($ban_user).' is an administrator and can\'t be banned. If you want to ban an administrator, you must first demote him/her to moderator or user.');

        // If we have a $user_id, we can try to find the last known IP of that user
        if (isset($user_id))
        {
            $result = $db->query('SELECT poster_ip FROM '.$db->prefix.'posts WHERE poster_id='.$user_id.' ORDER BY posted DESC LIMIT 1') or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());
            $ban_ip = ($db->num_rows($result)) ? $db->result($result) : '';
        }

        $mode = 'add';
    }
    else    // We are editing a ban
    {
        $ban_id = intval($_GET['edit_ban']);
        if ($ban_id < 1)
            message($lang_common['Bad request']);

        $result = $db->query('SELECT username, ip, email, message, expire FROM '.$db->prefix.'bans WHERE id='.$ban_id) or error('Unable to fetch ban info', __FILE__, __LINE__, $db->error());
        if ($db->num_rows($result))
            list($ban_user, $ban_ip, $ban_email, $ban_message, $ban_expire) = $db->fetch_row($result);
        else
            message($lang_common['Bad request']);

        $ban_expire = ($ban_expire != '') ? date('Y-m-d', $ban_expire) : '';

        $mode = 'edit';
    }

    $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / Admin / Bans';
    $focus_element = array('bans2', 'ban_user');
    require PUN_ROOT.'header.php';

    generate_admin_menu('bans');




    require PUN_ROOT.'footer.php';
}




require PUN_ROOT.'header.php';

//generate_admin_menu('bans');

?>


        <h2 class="block2"><span>Existing bans</span></h2>
        <div class="box">
            <div class="fakeform">
<?php

$result = $db->query('SELECT id, username, ip, email, message, expire FROM '.$db->prefix.'bans ORDER BY id') or error('Unable to fetch ban list', __FILE__, __LINE__, $db->error());
if ($db->num_rows($result))
{
    while ($cur_ban = $db->fetch_assoc($result))
    {
        $expire = format_time($cur_ban['expire'], true);

?>
                <div class="inform">
                    <fieldset>
                        <legend><?php echo pun_htmlspecialchars($cur_ban['username']) ?></legend>
                        <div class="infldset">
                            <table cellspacing="0">
<?php if ($cur_ban['username'] != ''): ?>                                
<tr>
                                    <th>Ban expires:</th>
                                    <td><?php echo $expire ?></td>
                              </tr>
<?php endif; ?><?php if ($cur_ban['message'] != ''): ?>                                <tr>
                                    <th>Reason</th>
                                    <td><?php echo pun_htmlspecialchars($cur_ban['message']) ?></td>
                                </tr>
<?php endif; ?>                            </table>
                            </div>
                    </fieldset>
                </div>
<?php

    }
}
else
    echo "\t\t\t\t".'<p>No bans in list.</p>'."\n";

?>
            </div>
        </div>
    </div>
    <div class="clearer"></div>
</div>
<?php

require PUN_ROOT.'footer.php';

10

(17 replies, posted in PunBB 1.2 troubleshooting)

ok, ill try now smile they majority of ppl dont use a proxy so theres usualy no problem

11

(17 replies, posted in PunBB 1.2 troubleshooting)

ip is rite, my sig isnt an image, but a php and mySQL script and it shows your ip with the $_SERVER['REMOTE_ADDR']; function in php, also, if i recall correctly, isnt that what punbb uses? anyway, back on topic, i want the public to be able to view the bans. i know atm with that code, only admins and mods can view it but thats just temp, ill remove it later

12

(17 replies, posted in PunBB 1.2 troubleshooting)

hi, im trying to make a ban page that views all the current bans but all i get is a white page (no errors) this is the code i have

<?php
define('PUN_ADMIN_CONSOLE', 1);

define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php';
require PUN_ROOT.'include/common_admin.php';


if ($pun_user['g_id'] > PUN_MOD || ($pun_user['g_id'] == PUN_MOD && $pun_config['p_mod_ban_users'] == '0'))
    message($lang_common['No permission']);
?>

<h2 class="block2"><span>Existing bans</span></h2>
        <div class="box">
            <div class="fakeform">
<?php

$result = $db->query('SELECT id, username, ip, email, message, expire FROM '.$db->prefix.'bans ORDER BY id') or error('Unable to fetch ban list', __FILE__, __LINE__, $db->error());
if ($db->num_rows($result))
{
    while ($cur_ban = $db->fetch_assoc($result))
    {
        $expire = format_time($cur_ban['expire'], true);

?>
                <div class="inform">
                    <fieldset>
                        <legend>Ban expires: <?php echo $expire ?></legend>
                        <div class="infldset">
                            <table cellspacing="0">
<?php if ($cur_ban['username'] != ''): ?>                                
<tr>
                                    <th>Username</th>
                                    <td><?php echo pun_htmlspecialchars($cur_ban['username']) ?></td>
                              </tr>
<?php endif; ?><?php if ($cur_ban['email'] != ''): ?>                                <tr>
                                    <th>E-mail</th>
                                    <td><?php echo $cur_ban['email'] ?></td>
                                </tr>
<?php endif; ?><?php if ($cur_ban['ip'] != ''): ?>                                <tr>
                                    <th>IP/IP-ranges</th>
                                    <td><?php echo $cur_ban['ip'] ?></td>
                                </tr>
<?php endif; ?><?php if ($cur_ban['message'] != ''): ?>                                <tr>
                                    <th>Reason</th>
                                    <td><?php echo pun_htmlspecialchars($cur_ban['message']) ?></td>
                                </tr>
<?php endif; ?>                            </table>
                            </div>
                    </fieldset>
                </div>
<?php

    }
}
else
    echo "\t\t\t\t".'<p>No bans in list.</p>'."\n";

?>
            </div>
        </div>
    </div>
    <div class="clearer"></div>
</div>
<?php

require PUN_ROOT.'footer.php';
?>

gmail has 2 gigs now yikes and google is more colourfull tongue

on the step

#
#---------[ 5. REPLACE WITH ]---------------------------------------------------
#

    while ($cur_user_online = $db->fetch_assoc($result))
    {
        if($cur_user_online['status'] > PUN_USER)
            $users[] = '<a class="punadmod" href="profile.php?id='.$cur_user_online['user_id'].'">'.pun_htmlspecialchars($cur_user_online['ident']).'</a>';
        else
            $users[] = '<a href="profile.php?id='.$cur_user_online['user_id'].'">'.pun_htmlspecialchars($cur_user_online['ident']).'</a>';        
    }

read thru it... where it says

if($cur_user_online['status'] > PUN_USER)

it mean if the user is greater than a user, change the color to punadmod. punadmod is the thing u put in the stylesheet. its the same for step 10 too

15

(19 replies, posted in Test forum)

:):):):):):):):):)            :)                :):):):):):):):):)
        :)                    :)                        :)
        :)                    :)                        :)
        :)                    :)                        :)
        :)                    :)                        :)

16

(1 replies, posted in Programming)

hi i want my prog to show the news when i start it up, so far i have this:-

public void news(String web)
{
String temp = "Error"; int a = 0;
try
{
URL url = new URL(web);
URLConnection urlconnection = url.openConnection();
BufferedReader input = null;
input = new BufferedReader(new InputStreamReader(urlconnection.getInputStream()));
while((temp = input.readLine()) != null)
{
  line[a] = temp;
  a++;
}
}
catch(Exception e){System.out.println(e);}
}

and this is the thing that displays it:-

        System.out.println("Deobed by teh lovable Kaitnieks");
        System.out.println("Checking for updates...");
        System.out.println("");
        System.out.println("");
        try{Thread.sleep(1500);}
        catch(InterruptedException _ex){}
        System.out.println("+*********************************************************+");
        System.out.println("+                      Updater                            +");
        System.out.println("+*********************************************************+");
        System.out.println("+-+-+-+-+-+-+*=  You have version 1.6 =*+-+-+-+-+-+-+-+-+-+");
        System.out.println("+          The newest version is version " + checkupdate("http://www.kylebot.net/bot_data/version.txt") + "              +");
        System.out.println("+      If you need to update, get the newest version      +");
        System.out.println("+              from http://www.kylebot.net                +");
        System.out.println("+*********************************************************+");
        System.out.println("");
        System.out.println("");
        System.out.println("Getting the news....");
        try{Thread.sleep(1500);}
        catch(InterruptedException _ex){}
        System.out.println("+*********************************************************+");
        System.out.println("+                         News                            +");
        System.out.println("+*********************************************************+");
        System.out.println("+-+-+-+-+-+-+-+*= KyleBot version 1.6 =*+-+-+-+-+-+-+-+-+-+");
        System.out.println(news("http://www.kylebot.net/bot_data/news.txt"));
        System.out.println("+*********************************************************+");
    }

The update part works but that only reads 1 line, the other 1 (news) reads 20 lines i think. the error i get when i compile is this:-

mudclient.java:283: 'void' type not allowed here
        System.out.println(news("http://www.kylebot.net/bot_data/news.txt"));
                               ^
1 error
Press any key to continue . . .

plz can some1 give me the FULL code to fix it i mean if i need to add somthing just tell me EXACLY what to add and where, i dont usualy c/p its just that i'm goin 2 florida at 9:00am 2morrow.

17

(7 replies, posted in PunBB 1.2 troubleshooting)

just make a php script that gets the e-mail from table users from username * (all)

Edit: see, i'm not REALY stupid wink

Chacmool wrote:

Any suggestions or comments?

Yeah, DONT SHOW PPL THAT HAVENT VOTED! lol, lets say u have like 2k members. that wouyld be annoyting and also display who voted for what wink

hi, i recently managed to display just the normal time but now i wasna display the LIVE time big_smile. but to do this i need to be able it insert javascript into php sad i have this so far (didnt work btw)

    $tpl_temp = $lang_common['Logged in as'].' <b>'.pun_htmlspecialchars($cur_user['username']).'</b>.<br>'.$lang_common['Last visit'].': '.format_time($cur_user['last_visit']).'<br>The current time is:' ?> <script language="javascript" src="liveclock.js">
</script> <?php ' GMT</b>'. '<br>The current date is: <b>'.gmdate ("l F dS Y", mktime (date("H")+1,date("i"),date("s"),date("m"),date("d"),date("y"))).'</b>';

20

(9 replies, posted in PunBB 1.2 show off)

i think there good and handy, saves time for a page to load, instead of the whole page loadin again, it only loads the part that changes wink

21

(9 replies, posted in PunBB 1.2 show off)

i think there sexy tongue

22

(9 replies, posted in PunBB 1.2 show off)

whats wrong with iframes tongue

P.S. get some more emoticons tongue

23

(9 replies, posted in PunBB 1.2 show off)

why, what wrong with firefox?

i think i found somthing here http://www.dynamicdrive.com/dynamicindex6/clock2.htm plz help again :z

(sorry i'm in a rush, no time 2 mess about)

thnx but i want it 2 be live plz help :\