eeeeeerf thx
(moi aussi j suis français )
You are not logged in. Please login or register.
PunBB Forums → Posts by Dogma
Pages 1
eeeeeerf thx
(moi aussi j suis français )
i have a probleme, on my personal theme i add this code on css:
TD.tcl:hover { BACKGROUND-COLOR: #11506A; }
he perfectly work on mozilla firfox, but on ie he don't work !! why ?
YEEES ! is it tanks you
please help me, i have a probleme when i logged me with the login script. the user has'nt updated on table ("forum_online" for me) what is the solution ??
<?php
define('PUN_ROOT', './forum/');
define('PUN_TURN_OFF_MAINT', 1);
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';
if ($pun_user['group_id'] == PUN_ADMIN || $pun_user['group_id'] == PUN_MOD || $pun_user['group_id'] == PUN_MEMBER)
echo $pun_user['username']." <a href=\"forum/login.php?action=out&id=".$pun_user['id']."\">LOG OUT</a>";
else {
?>
<script type="text/javascript">
<!--
function process_form(the_form)
{
var element_names = new Object()
element_names["req_username"] = "Username"
element_names["req_password"] = "Password"
if (document.all || document.getElementById)
{
for (i = 0; i < the_form.length; ++i)
{
var elem = the_form.elements[i]
if (elem.name && elem.name.substring(0, 4) == "req_")
{
if (elem.type && (elem.type=="text" || elem.type=="textarea" || elem.type=="password" || elem.type=="file") && elem.value=='')
{
alert("\"" + element_names[elem.name] + "\" is a required field in this form.")
elem.focus()
return false
}
}
}
}
}
-->
</script>
<form id="login" method="post" action="forum/login.php?action=in" onsubmit="return process_form(this)">
<div class="infldset">
<input type="hidden" name="form_sent" value="1" /> <input type="hidden" name="redirect_url" value="index.php" />
<label class="conl"><strong>Username</strong>
<br />
<input type="text" name="req_username" size="10" maxlength="25" tabindex="1" />
<br /></label>
<label class="conl"><strong>Password</strong>
<br />
<input type="password" name="req_password" size="10" maxlength="16" tabindex="2" /><br /></label>
<a href="forum/register.php" tabindex="4">Not registered yet?</a><br />
<a href="forum/login.php?action=forget" tabindex="5">Forgotten your password?</a>
<br />
<input type="submit" name="login" value="Login" tabindex="3" />
</div>
</form>
<?php
}
?>
<br><br>
Liste des connecté(es)<br>
<?php
if ($pun_config['o_users_online'] == '1')
{
// Fetch users online info and generate strings for output
$num_guests = 0;
$users = array();
$result = $db->query('SELECT user_id, ident FROM '.$db->prefix.'online WHERE idle=0 ORDER BY ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());
while ($pun_user_online = $db->fetch_assoc($result))
{
if ($pun_user_online['user_id'] > 1)
$users[] = "<a href=\"forum/profile.php?id=".$pun_user_online['user_id']."\">".pun_htmlspecialchars($pun_user_online['ident'])."</a>";
else
++$num_guests;
}
$num_users = count($users);
if ($num_users > 0)
echo implode(' - ', $users);
}
?>
Thanks you to reply me
Pages 1
PunBB Forums → Posts by Dogma
Powered by PunBB, supported by Informer Technologies, Inc.