DeepShock
Narys
Patrankų mėsa
Pranešimai: 5
Įstojęs: 2007 Lie. 1 18:07:43
|
Sutuacija tokia:

Kaip matote User_info ir logino Fontas "truputi" per didelis, perziurejau per style.css didesnio nei 12px fontu nera, logina narsau ten nematau kur butu ju dydis nurodytas, gal galetumet nuaiskinti kur reiktu iterpti font-size?
loginas.php
<?php
global $theme_width,$settings,$aidlink,$locale,$userdata;
echo "<table width='$theme_width' border='0' align='center' cellpadding='0' cellspacing='0' background='".THEME."images/login.png' height='100' style='background-repeat: no-repeat;'>
<tr>
<td width='200' style='padding-right: 0px; padding-left: 580px; padding-bottom: 20px; padding-top:20px;
font-size : 8px;' valign='middle'>";
if (iMEMBER) {
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='300' height='100' border='0' cellspacing='0' cellpadding='0'>
\n";
if ($userdata['user_avatar'] != "") {
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' align='right' height='100' style='border:1px solid #999999'>\n";
} else {
echo "<img src='".THEME."images/noavatar.gif' width='100' height='100'align='right' border='0'>\n";
}
echo "
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Bebras</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>".$locale['0081']." [".$locale['0060'].": <b><span style='color:#990000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a><br><br>
";
$userip = $_SERVER['REMOTE_ADDR'];
$host = gethostbyaddr($userip);
echo "</td></tr></table>\n";
} else {
echo "<table width='170' border='0' cellspacing='0' cellpadding='0' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<td align='right' class='ip'>Vardas: </td>
<td> <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right' class='ip'>".$locale['062'].": </td>
<td> <input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right'><input type='checkbox' name='remember_me' value='y'></td>
<td> <input type='submit' name='login' value='Prisijungti' class='button'></td>
</tr>
</form>\n";
if ($settings['enable_registration']) {
echo "<a href=".BASEDIR."register.php>Registracija</a> / <a href=".BASEDIR."lostpassword.php>".$locale['062']."</a>\n";
}
echo"</table>\n";
}
echo "</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
echo "<td>\n";
echo ($i == 0 ? " " : "")."</td>";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
echo "<table width='100%' cellpadding='0' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
?>
Liksiu dekingas uz pagalba
|
Tomcis
Narys
Generolas

Pranešimai: 1143
Įstojęs: 2008 Spa. 9 19:10:04
|
Žiūrėjai style.css?
|
And2s
VIP narys
Pulkininkas

Pranešimai: 329
Įstojęs: 2009 Bal. 30 19:04:04
|
<?php
global $theme_width,$settings,$aidlink,$locale,$userdata;
echo "<table width='$theme_width' border='0' align='center' cellpadding='0' cellspacing='0' background='".THEME."images/login.png' height='100' style='background-repeat: no-repeat;'>
<tr>
<td width='200' style='padding-right: 0px; padding-left: 580px; padding-bottom: 20px; padding-top:20px;
font-size : 8px;' valign='middle'>";
if (iMEMBER) {
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='300' height='100' border='0' cellspacing='0' cellpadding='0'>
\n";
if ($userdata['user_avatar'] != "") {
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' align='right' height='100' style='border:1px solid #999999'>\n";
} else {
echo "<img src='".THEME."images/noavatar.gif' width='100' height='100'align='right' border='0'>\n";
}
echo "
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side' style='font-size: 12px'>Bebras</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side' style='font-size: 12px'>".$locale['0081']." [".$locale['0060'].": <b><span style='color:#990000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side' style='font-size: 12px'>".$locale['082']."</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side' style='font-size: 12px'>Administracija</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side' style='font-size: 12px'>".$locale['084']."</a><br><br>
";
$userip = $_SERVER['REMOTE_ADDR'];
$host = gethostbyaddr($userip);
echo "</td></tr></table>\n";
} else {
echo "<table width='170' border='0' cellspacing='0' cellpadding='0' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<td align='right' class='ip'>Vardas: </td>
<td> <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right' class='ip'>".$locale['062'].": </td>
<td> <input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right'><input type='checkbox' name='remember_me' value='y'></td>
<td> <input type='submit' name='login' value='Prisijungti' class='button'></td>
</tr>
</form>\n";
if ($settings['enable_registration']) {
echo "<a href=".BASEDIR."register.php style='font-size: 12px'>Registracija</a> / <a href=".BASEDIR."lostpassword.php style='font-size: 12px'>".$locale['062']."</a>\n";
}
echo"</table>\n";
}
echo "</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
echo "<td>\n";
echo ($i == 0 ? " " : "")."</td>";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
echo "<table width='100%' cellpadding='0' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
?>
|
DeepShock
Narys
Patrankų mėsa
Pranešimai: 5
Įstojęs: 2007 Lie. 1 18:07:43
|
And2s parašė:
<?php
global $theme_width,$settings,$aidlink,$locale,$userdata;
echo "<table width='$theme_width' border='0' align='center' cellpadding='0' cellspacing='0' background='".THEME."images/login.png' height='100' style='background-repeat: no-repeat;'>
<tr>
<td width='200' style='padding-right: 0px; padding-left: 580px; padding-bottom: 20px; padding-top:20px;
font-size : 8px;' valign='middle'>";
if (iMEMBER) {
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<table width='300' height='100' border='0' cellspacing='0' cellpadding='0'>
\n";
if ($userdata['user_avatar'] != "") {
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' align='right' height='100' style='border:1px solid #999999'>\n";
} else {
echo "<img src='".THEME."images/noavatar.gif' width='100' height='100'align='right' border='0'>\n";
}
echo "
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side' style='font-size: 12px'>Bebras</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side' style='font-size: 12px'>".$locale['0081']." [".$locale['0060'].": <b><span style='color:#990000'>".sprintf($msg_count)."</span></b>]</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side' style='font-size: 12px'>".$locale['082']."</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side' style='font-size: 12px'>Administracija</a><br>\n";
}
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side' style='font-size: 12px'>".$locale['084']."</a><br><br>
";
$userip = $_SERVER['REMOTE_ADDR'];
$host = gethostbyaddr($userip);
echo "</td></tr></table>\n";
} else {
echo "<table width='170' border='0' cellspacing='0' cellpadding='0' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<td align='right' class='ip'>Vardas: </td>
<td> <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right' class='ip'>".$locale['062'].": </td>
<td> <input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td>
</tr>
<tr>
<td align='right'><input type='checkbox' name='remember_me' value='y'></td>
<td> <input type='submit' name='login' value='Prisijungti' class='button'></td>
</tr>
</form>\n";
if ($settings['enable_registration']) {
echo "<a href=".BASEDIR."register.php style='font-size: 12px'>Registracija</a> / <a href=".BASEDIR."lostpassword.php style='font-size: 12px'>".$locale['062']."</a>\n";
}
echo"</table>\n";
}
echo "</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' class='sub-header' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>";
echo "<td>\n";
echo ($i == 0 ? " " : "")."</td>";
echo "</td></tr></table>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
</table>\n";
echo "<table width='100%' cellpadding='0' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
?>
Idomiai, buvau megines as darasyti tai gavo snipstas Ačių
|
Tomcis
Narys
Generolas

Pranešimai: 1143
Įstojęs: 2008 Spa. 9 19:10:04
|
O nelengviau style.css faile pakeist side stiliaus font-size į 12px?
|
Fakamaran
Narys
Buldozeris

Pranešimai: 191
Įstojęs: 2009 Sau. 23 22:01:55
|
iFack parašė:
O nelengviau style.css faile pakeist side stiliaus font-size į 12px?
100kartu lengviau
http://www.linksmiau.net/
http://www.linksmiau.net/
http://www.linksmiau.net/
http://www.linksmia |