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

Parašė veTeranas· 2009 Spa. 3 01:10:06
#1

Pas mane yra taip:

Noriu kad butu:

Jeigu galite padekit stai user_info_panel:
<?php
global $theme_width,$settings,$aidlink,$locale,$userdata;
echo "
     
      <td width='0' style='padding-right: 0px; padding-left: 0px; padding-bottom: 0px; padding-top:20px;' valign='middle'>";
      if(!iMEMBER) {
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>
<table border='0' cellpadding='0' cellspacing='0' width='262' height='60'>
  <tr>
<br>
    <td width='100%' align='center' valign='center'><img src='".THEME."images/login/vartotojo.png'> <input type='text' name='user_name' class='laukelis' style='width:183px; height:27px;' value='Vartotojas' onfocus=\"if(this.value=='Vartotojas'){this.value='';}\" onblur=\"if(this.value==''){this.value='Vartotojas';}\"></td>

    </tr>
  <br>
    <td width='100%' align='center' valign='center'><img src='".THEME."images/login/slaptazodis.png'>  <input type='password' name='user_pass' class='laukelis' style='width:183px; height:27px;' value='Slapta&#254;odis' onfocus=\"if(this.value=='Slapta&#254;odis'){this.value='';}\" onblur=\"if(this.value==''){this.value='Slapta&#254;odis';}\"></td>
    <tr>
  <td width='100%' align='center' valign='right'>&nbsp;<button name='login' value='submit' type='submit' style='border: 0px solid #000; background-color: #; width:50px; height:10px;'> <img src='".THEME."images/login/login.png' alt='Prisijungti'></td>
 <tr><td width='50%' align='right' valign='right'><a href='register.php' target='_blank'>Registracija</a>
<tr><td width='50%' align='right' valign='right'><a href='register.php' target='_blank'>Pamirsau slaptazodi!</a>
   </td>
  </tr>
</table>

</form>";
} else {
   if ($userdata['user_avatar'] != "") {
   echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' height='100' style='border:0px solid #999999'>\n";
   } else {
   echo "<img src='".THEME."images/nofoto.png' width='100' height='100' border='0'>\n";
   }
   echo "<td>
<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' style='color: #9A9A9A'>Mano profilis</a><br>
<a href='".BASEDIR."edit_profile.php' style='color: #9A9A9A'>Redaguoti profili</a><br>
<a href='".BASEDIR."messages.php' style='color: #9A9A9A'>Asmenines &#382;inutes</a><br>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<a href='".ADMIN."index.php".$aidlink."' style='color: #9A9A9A'>Administracija</a>";
   }
echo "<img src='".THEME."images/blank.gif' width='30' height='0' alt=''>
<a href='".BASEDIR."setuser.php?logout=yes' style='text-decoration: none'><span style='color: #9A9A9A'>Atsijungti</span> <span style='color: #FF0083'>[x]</span></a><br>";

}
echo "</td></center>";
?>



Redagavo veTeranas· 2009 Spa. 3 13:10:41