Navigacija

Vartotojų tinkle

Prisijungusių svečių: 609
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

saulyzas 6 dienos
MaFetas 1 savaitė
TOMIJUS 2 savaitės
ozzWANTED 2 savaitės
Reikalas11 savaitės
Jaunelis17 savaitės
lanis17 savaitės
And2s18 savaitės
Memento Mori23 savaitės
Quwqkibor25 savaitės
asirija29 savaitės
tomeem31 savaitės
weberiz34 savaitės
mRokass37 savaitės
kartoonas38 savaitės
grunskiz41 savaitės
Bruksnys41 savaitės
illusion41 savaitės
ordo42 savaitės
Jurgaila43 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.145.112.23
Naujienų: 529
Straipsnių: 235
Temų: 52,588
Postų: 522,537
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Kaip uzdeti ant headerio V7
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Expert PHP, MySQL klausimai

Autorius: gakse Peržiūrų: 2243      Spausdinti temą
2009 Rugp. 1 01:08:55          1 žinutė iš 8
Spausdinti pranešimą
Sveiki kaip man indeti banneri ant headerio niekaip neiseina gal galit padet theme.php atrodo taip:

<?php
/*-------------------------------------------------------+
| Theme: Clark
| Author: Jure Sakelšek (include)
+--------------------------------------------------------+
|                http://phpfusion-si.com/
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_WIDTH", "100%");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");

require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {

   global $settings, $main_style;
   
   //Header
   echo "<table align='center' cellpadding='0' cellspacing='0' class='glava'>\n<tr>
<td align='center' width='20'>";
   echo "<tr>\n";
   echo "<td class='glava_zgoraj'></td>\n"; // cia banneris
   echo "</tr>\n";
   echo "<tr>\n";
   echo "<td colspan='2' class='glava_ozadje'></td>\n";
   echo "</tr>\n";
   echo "<tr>\n";
   echo "<td colspan='2'>\n";
   echo "<table cellpadding='0' cellspacing='0' class='menu'>\n";
   echo "<tr>\n";
   echo "<td class='menu_levo'></td>\n";
   echo "<td>\n";
   echo "<div id='navigacija'>\n";
   echo "<ul>\n";
   echo "<li>".showsublinks("","white")."</li>\n";
   echo "</ul>\n";
   echo "</div>\n";
   echo "</td>\n";
   echo "<td class='menu_desno'>&nbsp;</td>\n";
   echo "</tr>\n";
   echo "</table>\n";
   echo "</td>\n";
   echo "</tr>\n";
   echo "</table>\n";
   
   //Content
   echo "<table align='center' cellpadding='0' cellspacing='0' class='vsebina'>\n";
   echo "<tr>\n";
   if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
   if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
   echo "</tr>\n";
   echo "</table>\n";
   
   //Footer
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td align='left' class='capmain'>Visos teises saugomos © GKS 2009</td>\n";
   echo "<td align='right' class='capmain'>".showcounter()."</td>\n";
   echo "<td class='capmain'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<center><IFRAME SRC='http://spiriu.lt/work.php?n=298&amp;size=1&amp;c=' width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling='no'></IFRAME><IFRAME SRC='http://nesunku.lt/work.php?n=474&amp;size=3&amp;c=1' width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling='no'></IFRAME>";
   if (!$license) { echo "<br /><br />\n".showcopyright(); }
   echo "</td>\n";
   echo "</tr>\n</table>\n";
}

function render_news($subject, $news, $info) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td class='main-body'>".$news."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "</td>\n</tr>\n</table>\n";

}

function render_article($subject, $article, $info) {
   
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain'>".$title."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td class='main-body'>\n";

}

function closetable() {

   echo "</td>\n</tr>\n</table>\n";

}

function openside($title, $collapse = false, $state = "on") {
   
   global $panel_collapse; $panel_collapse = $collapse;
   
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n";
   echo "<td class='scapmain'>".$title."</td>\n";
   if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
   }
   echo "</tr>\n<tr>\n";
   echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside($collapse = false) {

   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }   
   echo "</td>\n</tr>\n</table>\n";

}
?>




ir man reikia kad skaititu banerius is is sito failo rek.php jis atrodo taip:

<?
$text = array("<a href='http://www.ukm.gan.lt' target='_blank'><img src='http://www.gks.gan.lt/728x90.gif' border='0' alt=www.ukm.gan.lt Counter Strike portlas width='728' height='90' /></a>","<a href='http://www.ukm.gan.lt' target='_blank'><img src='http://www.gks.gan.lt/468.gif' border='0' alt=www.ukm.gan.lt Counter Strike portlas width='728' height='90' /></a>");
$cc = count($text) ;
$cl = $cc-1;
$rand = rand(0,$cl);
echo"$text[$rand]";
?>




Kaip man padaryt kad roditu tas atsitiktines reklamas gal galit yrasit reikiamai tenai su pavadinimu rek.php busiu labai dekingas.
2009 Rugp. 1 01:08:59          2 žinutė iš 8
Spausdinti pranešimą
parodik thema kaip atrodo padesiu tau
už +10 akinanti šypsen

2009 Rugp. 1 01:08:41          3 žinutė iš 8
Spausdinti pranešimą
arba inteik i www.gks.gan.lt arba atsisiusk tema.


gakse prisegtu failu:
clark.rar
2009 Rugp. 1 08:08:21          4 žinutė iš 8
Spausdinti pranešimą
pabandyk šią theme.php...


And2s prisegtu failu:
clark.zip
2009 Rugp. 1 11:08:43          5 žinutė iš 8
Spausdinti pranešimą
visvien virs headerio buna o ne ant headerionežino
2009 Rugp. 1 19:08:40          6 žinutė iš 8
Spausdinti pranešimą
<?php
/*-------------------------------------------------------+
| Theme: Clark
| Author: Jure Sakelšek (include)
+--------------------------------------------------------+
|                http://phpfusion-si.com/
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_WIDTH", "100%");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");

require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {

   global $settings, $main_style;
   
   //Header
   echo "<table align='center' cellpadding='0' cellspacing='0' class='glava'>\n<tr>
<td align='center' width='20'>";
   echo "<tr>\n";
   echo "<td class='glava_zgoraj'></td>\n"; // cia banneris
   echo "</tr>\n";
   echo "<tr>\n";
   echo "<td colspan='2' class='glava_ozadje'>"; include THEME."rek.php"; echo "</td>\n";
   echo "</tr>\n";
   echo "<tr>\n";
   echo "<td colspan='2'>\n";
   echo "<table cellpadding='0' cellspacing='0' class='menu'>\n";
   echo "<tr>\n";
   echo "<td class='menu_levo'></td>\n";
   echo "<td>\n";
   echo "<div id='navigacija'>\n";
   echo "<ul>\n";
   echo "<li>".showsublinks("","white")."</li>\n";
   echo "</ul>\n";
   echo "</div>\n";
   echo "</td>\n";
   echo "<td class='menu_desno'>&nbsp;</td>\n";
   echo "</tr>\n";
   echo "</table>\n";
   echo "</td>\n";
   echo "</tr>\n";
   echo "</table>\n";
   
   //Content
   echo "<table align='center' cellpadding='0' cellspacing='0' class='vsebina'>\n";
   echo "<tr>\n";
   if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
   if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
   echo "</tr>\n";
   echo "</table>\n";
   
   //Footer
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td align='left' class='capmain'>Visos teises saugomos © GKS 2009</td>\n";
   echo "<td align='right' class='capmain'>".showcounter()."</td>\n";
   echo "<td class='capmain'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<center><IFRAME SRC='http://spiriu.lt/work.php?n=298&amp;size=1&amp;c=' width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling='no'></IFRAME><IFRAME SRC='http://nesunku.lt/work.php?n=474&amp;size=3&amp;c=1' width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling='no'></IFRAME>";
   if (!$license) { echo "<br /><br />\n".showcopyright(); }
   echo "</td>\n";
   echo "</tr>\n</table>\n";
}

function render_news($subject, $news, $info) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td class='main-body'>".$news."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "</td>\n</tr>\n</table>\n";

}

function render_article($subject, $article, $info) {
   
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain'>".$subject."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='capmain'>".$title."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td class='main-body'>\n";

}

function closetable() {

   echo "</td>\n</tr>\n</table>\n";

}

function openside($title, $collapse = false, $state = "on") {
   
   global $panel_collapse; $panel_collapse = $collapse;
   
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n";
   echo "<td class='scapmain'>".$title."</td>\n";
   if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
   }
   echo "</tr>\n<tr>\n";
   echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside($collapse = false) {

   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }   
   echo "</td>\n</tr>\n</table>\n";

}
?>





2009 Rugp. 1 22:08:54          7 žinutė iš 8
Spausdinti pranešimą
Aciu jum lb lb padejo ir veikia kuo puikiausiamerkia akį;);)
2009 Rugp. 29 23:08:04          8 žinutė iš 8
Spausdinti pranešimą
gal galit padet? kaip padidint theme?

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }

define("THEME_WIDTH", "100%");
define("THEME_BULLET", "<span class='bullet'>&middot;</span>");

require_once INCLUDES."theme_functions_include.php";

//v7 sublinks
function thesublinks($sep="&middot;",$class="") {
echo "<script type='text/javascript' src='".THEME."/fader.js'></script>";

$i = 0; $res = "";
$sres = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' AND ".groupaccess('link_visibility')." AND link_url!='---' ORDER BY link_order ASC");
if (dbrows($sres)) {
while($sdata = dbarray($sres)) {
if ($i != 0) { $res .= " ".$sep."\n"; } else { $res .= "\n"; }
$link_target = $sdata['link_window'] == "1" ? " target='_blank'" : "";
$link_class = $class ? " class='$class'" : "";
if (strstr($sdata['link_url'], "http://") || strstr($sdata['link_url'], "https://")) {
$res .= "<a href='".$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
} else {
$res .= "<a href='".BASEDIR.$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
}

$i++;
}
}
if ($i != 0) { return $res; } else { return "&nbsp;"; }
}


function render_page($license=false) {

global $settings, $main_style, $locale;

//Header
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td class='full-header'></td>\n";
echo "</tr>\n</table>\n";

//sublinks css
echo "<table width='".THEME_WIDTH."' border='' cellspacing='0' cellpadding='0' align='center'><tr><td>";
echo "<div id='altlinkler'>";
echo "<ul><li>".thesublinks("</li>\n<li>");
echo "</li></ul><div class='clear-both'>&nbsp;</div></div>";
echo "</td></tr></table>\n";


//Content
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";

//Footer
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td align='center' class='bottom-footer'><br />".stripslashes($settings['footer']);
if (!$license) { echo "Sukure by <a href='Darkangell'>darkangell</a>
<br />\n".showcopyright(); }

echo "</td>\n";
echo "</tr>\n</table>\n";

}

function render_news($subject, $news, $info) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain-left'></td>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "<td class='capmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='capmain-center-left'></td>\n";
echo "<td class='main-body middle-border'>".$news."</td>\n";
echo "<td class='capmain-center-right'></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='capmain-bottom-left'></td>\n";
echo "<td align='center' class='news-footer middle-border'>\n";
echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
echo "</td>\n";
echo "<td class='capmain-bottom-right'></td>\n";
echo "</tr>\n</table>\n";

}

function render_article($subject, $article, $info) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='capmain-left'></td>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "<td class='capmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='capmain-center-left'></td>\n";
echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "<td class='capmain-center-right'></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='capmain-bottom-left'></td>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
echo "</td>\n";
echo "<td class='capmain-bottom-right'></td>\n";
echo "</tr>\n</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain-left'></td>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "<td class='capmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td class='capmain-center-left'></td>\n";
echo "<td class='main-body'>\n";

}

function closetable() {

echo "</td>\n";
echo "<td class='capmain-center-right'></td>\n";
echo "</tr><tr>\n";
echo "<td class='capmain-bottom-left'></td>\n";
echo "<td class='news-footer'></td>\n";
echo "<td class='capmain-bottom-right'></td>\n";
// echo "</tr><tr>\n";
echo "</tr>\n</table>\n";

}

function openside($title, $collapse = false, $state = "on") {

global $panel_collapse; $panel_collapse = $collapse;

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='scapmain-left'></td>\n";
echo "<td class='scapmain'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "<td class='scapmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td class='scapmain-center-left'></td>\n";
echo "<td class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {

global $panel_collapse;

if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n";
echo "<td class='scapmain-center-right'></td>\n";
echo "</tr><tr>\n";
echo "<td class='scapmain-bottom-left'></td>\n";
echo "<td class='side-footer'></td>\n";
echo "<td class='scapmain-bottom-right'></td>\n";
echo "</table>\n";

}
?>




Peršokti į forumą: