Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: headeris

Parašė Soo-2· 2008 Sau. 2 17:01:34
#1

sveiki.. gal kas zinote kaip padaryti kad headeris butu iš triju paveikliuku o antram paveikliuke login panele.. štai pavizdys http://img90.imageshack.us/img90...ginsj2.jpg ir štai header.php failai.. jame jau pradėta daryti.. i dėtas pirmas paveikliukas, bet nezinau kaip trecia idėti
<?php
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
   echo "<tr><td class='header' width='100%'>";
   // Start banner code / Banerio kodas
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<table cellpadding='0' cellspacing='0' width='$theme_width' align='center'>
<tr>
<TD width='1' bgcolor='#6F7172' rowspan='6'></TD>
<TD background='".THEME."images/1.jpg' WIDTH=$theme_width HEIGHT=248 ALT=''>
<div style='padding-top:49px;padding-right:372px '>


</div></TD>
         

            \n";
if (iMEMBER) {
   echo "<TD background='".THEME."images/9.jpg' WIDTH=233 HEIGHT=100 ALT=''>
<div style='padding-top:11px;padding-left:16px'><table>
<tr><td><table>
<tr><td>
".($userdata['user_avatar'] != "" ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='40px;' height='40px;'>" : "<img src='".THEME."no_avatar.gif' title='Vartotojas  neturi avataro' width='40px;' height='40px;'>")."
</td></tr>
</table>
</td><td>
<table>
<tr><td><b><font color='#000'>".$userdata['user_name']."</font></b></td></tr>
<tr><td><small>
<font color='#000'>Žinučių saite: ".(dbcount("(*)","comments","comment_name = '".$userdata['user_id']."'")+dbcount("(*)","posts","post_author = '".$userdata['user_id']."'")+dbcount("(*)","shoutbox","shout_name = '".$userdata['user_id']."'"))."</font></small><br>
".(iADMIN && $userdata['user_rights'] != "" ? "<a href='".ADMIN."index.php$aidlink'><small>
<font color='#000'>Administravimas</font></small></a><br>\n" : "")."
".(dbcount("(*)","messages","message_read = '0' AND message_to = '".$userdata['user_id']."'") ? "<small>
<font color='#000'>Naujų žinučių:</font> <a href='".BASEDIR."messages.php'>
<font color='#000'>1</font></small> <img src='".THEME."pm_new.gif'><br>" : "")."
<a href='".BASEDIR."edit_profile.php'>
<small>
<font color='#000'>Jūsų Meniu</font></small></a>
<font color='#000'>:</font> <a href='".BASEDIR."setuser.php?logout=yes'><small>
<font color='#000'>Atsijungti</font></small></a></td></tr>\n";
} else {
   echo "<TD background='".THEME."images/9.jpg' WIDTH=233 HEIGHT=100 ALT=''>
<div style='padding-top:11px;padding-left:16px'><table>
<form name='loginform' method='post' align='left' action='".BASEDIR."news.php'>
<tr><td>
<small>
<font color='#000'>Jūsų vardas:</font></small>
</td><td>
<input type='text' name='user_name' class='textbox' style='width:100px;'>
</td></tr>
<tr><td>
<small>
<font color='#000'>Slaptažodis:</font></small>
</td><td>
<input type='password' name='user_pass' class='textbox' style='width:100px;'>
</td></tr>
<tr><td>
<font color='#000'><small>Atsimink</small></font>
<input type='checkbox' name='remember_me' value='y' title='Atsiminti mane' style='vertical-align:left;'>
</td><td>
<input type='submit' name='login' value='Prisijungti' class='button'>
</form>
</td></tr></table><table>
<tr><td>
<a href='registracija'>
<font color='#000'><small>Registracija</small></font></a>
<font color='#000'>:</font> <a href='lostpassword.php'>
<font color='#000'><small>Priminti slaptažodį</small></font></a>
</td></tr> \n";
}
   echo "</tr></table></td></tr></table>\n";
   // End banner code / Banerio kodo pabaiga
   echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header'>\n<tr>";
   echo "<td>\n";
   if ($settings['admin_activation'] == "1") echo "<img src='".THEME."images/bullet.gif' alt=''> ".$locale['015'].dbcount("(user_id)", "users", "user_status='2'")."\n";
   echo ($i == 0 ? "&nbsp;" : "")."</td>";
   echo "<td align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."";
   echo "</td></tr></table>\n";
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>

</table>\n";
?>