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

Parašė veTeranas· 2009 Spa. 3 13:10:30
#2

Nepykit uz flood argi nieks negalit padet?

Parašė Pongis· 2009 Spa. 3 13:10:03
#3

Padarau už 10 Lt banku. ;))

Parašė veTeranas· 2009 Spa. 3 13:10:42
#4

^^ banku nelabai ;) nebent sms nes sian nebedirba bankai ;S

Parašė Nevo· 2009 Spa. 3 13:10:59
#5

<?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; opacity:0.4;filter:alpha(opacity=40)' value='Vartotojas' onfocus=\"if(this.value=='Vartotojas'){this.value='';}\" onblur=\"if(this.value==''){this.value='************';}\"></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; opacity:0.4;filter:alpha(opacity=40)' value='Slapta&#254;odis' onfocus=\"if(this.value=='Slapta&#254;odis'){this.value='';}\" onblur=\"if(this.value==''){this.value='************;}\"></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>";
?>





Megink ;) numeciau opacity ant styles ir pakeiciau JS value abieju zvaigzdutemis :)

Redagavo Nevo· 2009 Spa. 3 13:10:36

Parašė veTeranas· 2009 Spa. 3 17:10:17
#6

Na tu paziurek kaip turetu atrodyt ;)

Parašė Žmogus· 2009 Spa. 3 17:10:43
#7

Čia reikia su styles žaisti

Parašė maxas66· 2009 Spa. 4 11:10:38
#8

Sutvarkiau, malonu padėt ;D

Parašė veTeranas· 2009 Spa. 4 21:10:05
#9

Dekui iMost geras tu dede ;)

Parašė EIDOS· 2009 Spa. 6 16:10:36
#10

Saunuolis ;) Smagu, kad yra tokiu zmoniu.