here is the code from login.php
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Banner Log in Area
| Filename: login.php
| Author: Fangree Productions
| Developers: Fangree_Craig, SiteMaster
| Site: http://www.fangree.co.uk
| Contact: admin@fangree.co.uk
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
include LOCALE.LOCALESET."global.php";
if (file_exists ( INFUSIONS . "login/locale/" . $settings ['locale'] . ".php" )) {
include INFUSIONS . "login/locale/" . $settings ['locale'] . ".php";
} else {
include INFUSIONS . "login/locale/English.php";
}
global $userdata, $aidlink;
if (iMEMBER) {
add_to_head("<script type='text/javascript' src='".INFUSIONS."login/includes/boxover.js'></script>\n");
echo "<table align='right' border='0' width='298' style='height: 105px; padding: 0px 8px 0px 0px'>\n";
echo " <tr>\n";
echo " <td class='MemberForm' style='background: url(".INFUSIONS."login/images/header_04.png); padding-left:20px; background-repeat: no-repeat;'>\n";
if($userdata['user_avatar']){
echo " <table align='left' border='0'>\n";
echo " <tr>\n";
echo " <td width='75' valign='middle' rowspan='3'>\n";
echo " <div title='".stripinput("header=[<span style=\"font-size: x-small;\">".$locale['log100']."</span>] body=[<span style=\"font-size: x-small;\">".$userdata['user_name']."s ".$locale['log101']."</span>]")."'>\n";
echo " <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'>\n";
echo " <img align='left' border='0' height='75' width='75' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' alt='' />\n";
echo " </a>\n";
echo " </div>\n";
echo " </td>\n";
echo " </tr>\n";
echo " <tr>\n";
} else {
echo " <table border='0'>\n";
echo " <tr>\n";
echo " <td width='75' valign='middle' rowspan='3'>\n";
echo " <div title='".stripinput("header=[<span style=\"font-size: x-small;\">".$locale['log102']."</span>] body=[<span style=\"font-size: x-small;\">".$userdata['user_name']." ".$locale['log103']."</span>]")."'>\n";
echo " <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."'>\n";
echo " <img align='left' border='0' height='75' width='75' src='".INFUSIONS."login/images/no_avatar.gif' alt='' />\n";
echo " </a>\n";
echo " </div>\n";
echo " </td>\n";
echo " </tr>\n";
echo " <tr>\n";
}
echo " <td rowspan='3'>\n";
echo " <div title='".stripinput("header=[<span style=\"font-size: x-small;\">".$locale['log104']."</span>] body=[<span style=\"font-size: x-small;\">".$locale['log105']."</span>]")."'>\n";
echo " <span class='small'>\n";
echo " <a href='".BASEDIR."edit_profile.php' class='side'>\n";
echo " <img border='0' align='right' src='".INFUSIONS."login/images/settingss.png' alt='' />\n";
echo " </a>\n";
echo " </span>\n";
echo " </div>\n";
echo " </td>\n";
$msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
if ($msg_count) {
echo " <td rowspan='3'>\n";
echo " <center>\n";
echo " <div title='".stripinput("header=[<span style=\"font-size: x-small;\">".$locale['log106']."</span>] body=[<span style=\"font-size: x-small;\">".$locale['log107']."</span>]")."'>\n";
echo " <a href='".BASEDIR."messages.php' class='side'>\n";
echo " <img border='0' src='".INFUSIONS."login/images/mailn.png' alt='' />\n";
echo " </a>\n";
echo " </div>\n";
echo " </center>\n";
echo " </td>\n";
} else {
echo " <td rowspan='3'>\n";
echo " <center>\n";
echo " <div title='".stripinput("header=[<span style=\"font-size: x-small;\">".$locale['log108']."</span>] body=[<span style=\"font-size: x-small;\">".$locale['log109']."</span>]")."'>\n";
echo " <a href='".BASEDIR."messages.php' class='side'>\n";
echo " <img border='0' src='".INFUSIONS."login/images/mail.png' alt='' />\n";
echo " </a>\n";
echo " </div>\n";
echo " </center>\n";
echo " </td>\n";
}
echo " <td rowspan='3'>\n";
echo " <div title='".stripinput("header=[<span style=\"font-size: x-small;\">".$locale['log110']."</span>] body=[<span style=\"font-size: x-small;\">".$locale['log111']."</span>]")."'>\n";
echo " <a href='".BASEDIR."members.php' class='side'>\n";
echo " <img border='0' align='left' src='".INFUSIONS."login/images/propic.png' alt='' />\n";
echo " </a>\n";
echo " </div>\n";
echo " </td>\n";
echo " <td rowspan='3'>\n";
echo " <div title='".stripinput("header=[<span style=\"font-size: x-small;\">".$locale['log112']."</span>] body=[<span style=\"font-size: x-small;\">".$locale['log113']."</span>]")."'>\n";
echo " <a href='".BASEDIR."setuser.php?logout=yes' class='side'>\n";
echo " <img border='0' src='".INFUSIONS."login/images/logoutt.png' alt='' />\n";
echo " </a>\n";
echo " </div>\n";
echo " </td>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo " <td rowspan='3'>\n";
echo " <div title='".stripinput("header=[<span style=\"font-size: x-small;\">".$locale['log114']."</span>] body=[<span style=\"font-size: x-small;\">".$locale['log115']."</span>]")."'>\n";
echo " <a href='".ADMIN."index.php".$aidlink."' class='side'>\n";
echo " <img border='0' src='".INFUSIONS."login/images/adminn.png' alt='' />\n";
echo " </a>\n";
echo " </div>\n";
echo " </td>\n";
echo " </tr>\n";
} else {
echo " <td></td>\n";
echo " </tr>\n";
}
//echo " <td></td>\n";
//echo " </tr>\n";
echo " </table>\n";
} else {
if (isset($_POST['Regh'])) {
redirect('register.php');
}
echo " <table align='right' border='0' width='298' style='height: 105px; padding: 0px 9px 0px 0px'>\n";
echo " <tr>\n";
echo " <td class='LoginForm' style='background: url(".INFUSIONS."login/images/header_04.png); padding: 0px 9px 0px 0px; background-repeat: no-repeat;'>\n";
include LOCALE.LOCALESET."global.php";
echo " <div style='padding: 8px 8px 0px 10px'>\n";
echo " <form name='loginform' method='post' action='".FUSION_SELF."'>\n";
echo " ".$locale['global_101'].": <input type='text' name='user_name' class='textbox' style='width:100px;margin-right:5px;margin-top:2px' /><br />\n";
echo " ".$locale['global_102'].": <input type='password' name='user_pass' class='textbox' style='width:100px;margin-right:5px;margin-top:2px' />\n";
echo " <input type='submit' name='login' value='".$locale['global_104']."' class='button' style='margin-top:5px;margin-right:5px;width:45px' /><br />\n";
echo " ".$locale['log118']."<input type='checkbox' name='remember_me' value='y' title='".$locale['global_103']."' style='vertical-align:middle;margin-top:6px' />\n";
echo " </form>\n";
if ($settings['enable_registration']) {
echo " ".$locale['log116']."\n";
}
echo " ".$locale['log117']."<br /><br />\n";
echo " </div>\n";
}
echo " </td>\n";
echo " </tr>\n";
echo "</table>\n";
?>]
and here is what i want to do described on image, to have 10 icons which ill add later but i dont know how to make it to go other 5 down if i put them up they dont go down only they go on right side next to first 5
so i want to do it like this
also if someone can show me an example on this code for rollover because i tried few and it didnt work
p.s. my site is located on my local drive with xampp so i cant give u url of my site
Regards
Edited by jebajseti on 03-06-2010 10:27