Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
Čia jau buvau klauses, bet nieks neatsakė tad pamaniau gal čia sunku labai ir rašau temą čia.
Man kažkodėl rodo pariškintus paveiksliukus aš noriu, kad jie tokie nebūtu:
va: http://www.suzinok.gan.lt/images...
štai user_info_panel:
<?php
/*---------------------------------------------------+
| PHP -Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
if (iMEMBER) {
openside($userdata['user_name']);
$vert = (dbrows($result) > 0 ? round($sk/dbrows($result),2) : "Nėra");
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo ($userdata['user_avatar'] ? "<center><img src='".IMAGES."avatars/".$userdata['user_avatar']."'></center><br>\n" : "<hr /><center><img src='http://www.suzinok.gan.lt/images/noimage.gif' border='0' width='90' height='90' /></center><hr />\n")."
".(iADMIN && eregi("C",$userdata['user_rights']) ? "<br>\n" : "")."
<center><a href='".BASEDIR."edit_profile.php' class='side'><img src='".THEME."images/rg.gif' alt=''></a>
<a href='".BASEDIR."messages.php' class='side'><img src='".THEME."images/pm.gif' alt=''></a>
<a href='".BASEDIR."infusions/user_gold_panel/' class='side'><img src='".THEME."images/gold.gif' alt=''></a>
<a href='".BASEDIR."members.php' class='side'><img src='".THEME."images/one.gif' alt=''></a>\n";
echo "<a href='".BASEDIR."setuser.php?logout=yes' class='side'><img src='".THEME."images/logout.gif' alt=''></a><br><br>\n";
$userpoints=dbarray(dbquery("SELECT * FROM ".$db_prefix."users_points WHERE owner_id='".$userdata[user_id]."'"));
//display the result
echo "<img src='".THEME."images/bullet.gif'> Turi kreditų: <b>$userpoints[points_total]</b><br>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<a href='".ADMIN."index.php".$aidlink."' class='side'><b>Administracija</b></a><br><center>\n";
}
if ($msg_count) echo "<br><br><center><b> ".sprintf($locale[''], $msg_count).($msg_count == 1 ? $locale[''] : $locale[''])."</a></b></center>\n";
} else {
openside($locale['060']);
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
if ($settings['enable_registration']) {
echo "".$locale['065']."<br><br>\n";
}
echo $locale['066']."
</div>\n";
}
closeside();
?>
o čia pastebėjau įdomu dalyką kai įdedu pvz šita navigaciją paveiksliukai nebūna paryškinti:
<?php
/*---------------------------------------------------+
| PHP -Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
if (iMEMBER) {
openside($userdata['user_name']);
$vert = (dbrows($result) > 0 ? round($sk/dbrows($result),2) : "Nėra");
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo ($userdata['user_avatar'] ? "<center><img src='".IMAGES."avatars/".$userdata['user_avatar']."'></center><br>\n" : "<hr /><center><img src='http://www.suzinok.gan.lt/images/noimage.gif' border='0' width='90' height='90' /></center><hr />\n")."
".(iADMIN && eregi("C",$userdata['user_rights']) ? "<br>\n" : "")."
<center><a href='".BASEDIR."edit_profile.php' class='side'><img src='".THEME."images/rg.gif' alt=''></a>
<a href='".BASEDIR."messages.php' class='side'><img src='".THEME."images/pm.gif' alt=''></a>
<a href='".BASEDIR."members.php' class='side'><img src='".THEME."images/one.gif' alt=''></a>\n";
echo "<a href='".BASEDIR."setuser.php?logout=yes' class='side'><img src='".THEME."images/logout.gif' alt=''></a><br><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<a href='".ADMIN."index.php".$aidlink."' class='side'><b>Administracija</b></a><br><center>\n";
}
if ($msg_count) echo "<br><br><center><b> ".sprintf($locale[''], $msg_count).($msg_count == 1 ? $locale[''] : $locale[''])."</a></b></center>\n";
} else {
openside($locale['060']);
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
if ($settings['enable_registration']) {
echo "".$locale['065']."<br><br>\n";
}
echo $locale['066']."
</div>\n";
}
closeside();
?>
<?php
/*---------------------------------------------------+
| PHP -Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
if (iMEMBER) {
openside($userdata['user_name']);
$vert = (dbrows($result) > 0 ? round($sk/dbrows($result),2) : "Nėra");
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo ($userdata['user_avatar'] ? "<center><img src='".IMAGES."avatars/".$userdata['user_avatar']."'></center><br>\n" : "<hr /><center><img src='http://www.suzinok.gan.lt/images/noimage.gif' border='0' width='90' height='90' /></center><hr />\n")."
".(iADMIN && eregi("C",$userdata['user_rights']) ? "<br>\n" : "")."
<center><a href='".BASEDIR."edit_profile.php' class='side'><img src='".THEME."images/rg.gif' alt=''></a>
<a href='".BASEDIR."messages.php' class='side'><img src='".THEME."images/pm.gif' alt=''></a>
<a href='".BASEDIR."members.php' class='side'><img src='".THEME."images/one.gif' alt=''></a>\n";
echo "<a href='".BASEDIR."setuser.php?logout=yes' class='side'><img src='".THEME."images/logout.gif' alt=''></a><br><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<a href='".ADMIN."index.php".$aidlink."' class='side'><b>Administracija</b></a><br><center>\n";
}
if ($msg_count) echo "<br><br><center><b> ".sprintf($locale[''], $msg_count).($msg_count == 1 ? $locale[''] : $locale[''])."</a></b></center>\n";
} else {
openside($locale['060']);
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
if ($settings['enable_registration']) {
echo "".$locale['065']."<br><br>\n";
}
echo $locale['066']."
</div>\n";
}
closeside();
?>
Qrmiz
Narys
Generolas
Pranešimai: 997
Įstojęs: 2005 Rugs. 4 16:09:21
gal pakeiti theme'ą ir tuomet nebūna paryškinti? Šiaip prie kiekvieno to paveiksliuko pridėk: border='0'
arba dar vienas variantas, atsidaryk styles.css ir įterpk:
img {
border: 0px;
}
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
o kur ta terpti img {
Border
Haked
Narys
Kapitonas
Pranešimai: 569
Įstojęs: 2008 Vas. 24 17:02:25
ai va supratau jau ačiū tau Qrmiz
MAnjack
Garbės narys
Legenda
Pranešimai: 11821
Įstojęs: 2006 Kov. 2 20:03:58
styles.css
Peršokti į forumą:
Žaliems
Nebeegzistuojančios svetainės
Bendri PHP-F klausimai
WordPress
Kiti PHP, HTML, MySQL klausimai
Expert PHP, MySQL klausimai
Kitos TVS
C#, Python, Java, JS, C++ klausimai
Naujų modų pristatymai
Mods, Panels & Infusions
Themes
Dalinuosi, dovanoju!
Jūsų saitai
Klausimai apie domenus ir hostingus
VPS/DS serverių konfigūravimas ir valdymas
Viskas apie skaitliukus, top'us ir lankomumą
Dizaino konkursai
Parduodu - perku dizainą, banerį
Parduodu - perku - keičiuosi reklama
Parduodu - perku domeną, tinklapį
Siūlau - ieškau hostingo/VPS serverio
Parduodu - perku skriptą, modifikaciją, tvs
Socialiniai tinklai - Facebook ir kiti
Legalus verslas, teisiniai klausimai
Visa kita kas susiję su darbu ir pinigais
LTStartups.com - Lietuvos startuolių bendruomenė
Off-Topic diskusijos
IT naujienos
Portalo informacija
Narių pasiūlymai
Geležis ir programinė įranga
Grafika
Out Of Place
Su e-verslu nesusijęs darbas ir prekyba
Dalinuosi, dovanoju!