balzhak
Narys
Nuolatinis
Pranešimai: 143
Įstojęs: 2008 Bal. 23 19:04:36
Sveiki,
kaip išimt tą skaitliuką, kuris rodo puslapio unkialius lankytojus, puslapio apačioj (http://www.speedattack.puslapiai... ):
87 SPEEDATTACK - Motorolerių modifikacijų portalas Unikalių apsilankymų. 3 NAUJI PROJEKTAI - 25% / 28% / 5%
interaktyvus
Narys
Kapitonas
Pranešimai: 620
Įstojęs: 2008 Kov. 24 23:03:44
per theme.php susirask ta visa apibrezima ir istrynk
balzhak
Narys
Nuolatinis
Pranešimai: 143
Įstojęs: 2008 Bal. 23 19:04:36
Jau ieškojau, neradau. Gal gali pardodyt kur?
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#ffffff";
$body_bg = "#222222";
$theme_width = "1100";
$theme_height= "100%";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width;
echo "<table cellpadding='0' cellspacing='0' width='900' align='center' class='outer-border'>\n<tr>
<td class='navbar' align='center' width='900' height='25'>".showsublinks("·","white")."</td>
</tr>
</table>\n";
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footerbg' border='1'>
<tr>
<td class='footer' align='center' width='100%' height='25'>GameManiacs Theme By <a href='http://art4fusion.com' align='left'>Art4Fusion.com</a> |
Distributed under the GPL License | Powered by <a href='http://php-fusion.co.uk' align='right'>Php-Fusion</a><br>".showcounter("·","white")."
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td aling='left' width='21' height='25'><img src='".THEME."/images/sidenavbg_left.png'></td>
<td class='capmain' align='center'>$subject</td>
<td aling='right' width='21' height='25'><img src='".THEME."/images/sidenavbg_right.png'></td>
</td></tr></table>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td aling='left' width='20' height='25'><img src='".THEME."/images/sidenavbg_left.png'></td>
<td class='capmain' align='center' height='25'>$subject</td>
<td aling='right' width='20' height='25'><img src='".THEME."/images/sidenavbg_right.png'></td>
</td></tr></table>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='outer-border'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td aling='left' width='20' height='25'><img src='".THEME."/images/sidenavbg_left.png'></td>
<td class='capmain' align='center' height='25'>$title</td>
<td aling='right' width='20' height='25'><img src='".THEME."/images/sidenavbg_right.png'></td>
</td></tr></table>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='outer-border'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td aling='left' width='20' height='25'><img src='".THEME."/images/sidenavbg_left.png'></td>
<td class='scapmain' align='center' height='25'>$title</td>
<td aling='right' width='20' height='25'><img src='".THEME."/images/sidenavbg_right.png'></td>
</td></tr></table>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='outer-border'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td aling='left' width='20' height='25'><img src='".THEME."/images/sidenavbg_left.png'></td>
<td class='scapmain' align='center' height='25'>$title</td>
<td class='scapmain' align='center:right'>".panelbutton($state,$boxname)."</td>
<td aling='right' width='20' height='25'><img src='".THEME."/images/sidenavbg_right.png'></td>
</td></tr></table>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="on"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
3 NAUJI PROJEKTAI - 25% / 28% / 5% Redagavo
balzhak 2008 Geg. 6 16:05:07
DuRaCeLL
VIP narys
Generolas
Pranešimai: 1033
Įstojęs: 2007 Rugp. 18 21:08:14
Gal yra footer.php failas?Redagavo
DuRaCeLL 2008 Geg. 6 16:05:40
balzhak
Narys
Nuolatinis
Pranešimai: 143
Įstojęs: 2008 Bal. 23 19:04:36
Pagrindiniam "public_html" folderį yra footer.php. Ištrint?3 NAUJI PROJEKTAI - 25% / 28% / 5%
DuRaCeLL
VIP narys
Generolas
Pranešimai: 1033
Įstojęs: 2007 Rugp. 18 21:08:14
Nee. Čia temos folderį turi būti. Nes theme.php faile nelabai matau tą skaitliuką.
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
Jūs gal galit nustoti svaigti? :|
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#ffffff";
$body_bg = "#222222";
$theme_width = "1100";
$theme_height= "100%";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width;
echo "<table cellpadding='0' cellspacing='0' width='900' align='center' class='outer-border'>\n<tr>
<td class='navbar' align='center' width='900' height='25'>".showsublinks("·","white")."</td>
</tr>
</table>\n";
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footerbg' border='1'>
<tr>
<td class='footer' align='center' width='100%' height='25'>GameManiacs Theme By <a href='http://art4fusion.com' align='left'>Art4Fusion.com</a> |
Distributed under the GPL License | Powered by <a href='http://php-fusion.co.uk' align='right'>Php-Fusion</a><br>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td aling='left' width='21' height='25'><img src='".THEME."/images/sidenavbg_left.png'></td>
<td class='capmain' align='center'>$subject</td>
<td aling='right' width='21' height='25'><img src='".THEME."/images/sidenavbg_right.png'></td>
</td></tr></table>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td aling='left' width='20' height='25'><img src='".THEME."/images/sidenavbg_left.png'></td>
<td class='capmain' align='center' height='25'>$subject</td>
<td aling='right' width='20' height='25'><img src='".THEME."/images/sidenavbg_right.png'></td>
</td></tr></table>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='outer-border'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td aling='left' width='20' height='25'><img src='".THEME."/images/sidenavbg_left.png'></td>
<td class='capmain' align='center' height='25'>$title</td>
<td aling='right' width='20' height='25'><img src='".THEME."/images/sidenavbg_right.png'></td>
</td></tr></table>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='outer-border'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td aling='left' width='20' height='25'><img src='".THEME."/images/sidenavbg_left.png'></td>
<td class='scapmain' align='center' height='25'>$title</td>
<td aling='right' width='20' height='25'><img src='".THEME."/images/sidenavbg_right.png'></td>
</td></tr></table>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='outer-border'>
<tr><td>
<table cellpadding='0' cellspacing='0' width='100%'>
<td aling='left' width='20' height='25'><img src='".THEME."/images/sidenavbg_left.png'></td>
<td class='scapmain' align='center' height='25'>$title</td>
<td class='scapmain' align='center:right'>".panelbutton($state,$boxname)."</td>
<td aling='right' width='20' height='25'><img src='".THEME."/images/sidenavbg_right.png'></td>
</td></tr></table>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="on"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Duracell nenurauki nelysk ir nejauk žmogui smegenų. :| Rules: 21 & 22 Read first!Redagavo
bad_user 2008 Geg. 6 17:05:40
MAnjack
Garbės narys
Legenda
Pranešimai: 11821
Įstojęs: 2006 Kov. 2 20:03:58
Ištrink: ".showcounter("·","white")."
DuRaCeLL
VIP narys
Generolas
Pranešimai: 1033
Įstojęs: 2007 Rugp. 18 21:08:14
Aš panašų dalyką radau includes/theme_functions_include.phpRedagavo
DuRaCeLL 2008 Geg. 6 17:05:31
balzhak
Narys
Nuolatinis
Pranešimai: 143
Įstojęs: 2008 Bal. 23 19:04:36
Ačiū3 NAUJI PROJEKTAI - 25% / 28% / 5%
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
Jūsų saitai
Dalinuosi, dovanoju!
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!