![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 81 Pomógł: 0 Dołączył: 27.11.2003 Skąd: Bytom Ostrzeżenie: (0%) ![]() ![]() |
:? Cześć !
Mam problem , chce do swojej strony wstawić POP UNDER i mam kod ( podam tutaj bez danych ) Cytat <SCRIPT LANGUAGE="JavaScript"><!--function (){window.open("","","'toolbars=false,location=false,width=,height=,directories=false,status=false,menu
ar=false,scrollbars=false'");}//--></SCRIPT> I nie wiedziałem gdzie go wkleic to wkleiłem go do THEME.php Cytat <?php
$bgcolor1 = "#555555"; $bgcolor2 = "#666666"; $bgcolor3 = "#333333"; $bgcolor4 = "#444444"; $textcolor1 = "#FFFFFF"; $textcolor2 = "#FFFFFF"; include("themes/Ti2k/tables.php"); /************************************************************/ /* Function themeheader() */ /* */ /* Control the header for your site. You need to define the */ /* BODY tag and in some part of the code call the blocks */ /* function for left side with: blocks(left); */ /************************************************************/ function themeheader() { global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi, $module_name; cookiedecode($user); $username = $cookie[1]; if ($username == "") { $username = "Anonymous"; } echo "<body onmouseover="window.status=' $sitename ';return true" bgcolor="#4F4F4F" ONLOAD="preloadImages();" text="#FFFFFF" link="#009999" vlink="#009999" alink="#FF6600" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">"; if ($banners == 1) { include("banners.php"); } $topics_list = "<select style="width: 100px; height: 15px; border-width: 0px;" name="new_topic" onChange='submit()'>n"; $topics_list .= "<option value="">All Topics</option>n"; $toplist = sql_query("select topicid, topictext from ".$prefix."_topics order by topictext", $dbi); while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) { if ($topicid==$topic) { $sel = "selected "; } $topics_list .= "<option $sel value="$topicid">$topics</option>n"; $sel = ""; } if ($username == "Anonymous") { $theuser = " <a href="modules.php?name=Your_Account&op=new_user" class="nav">Witaj! Kliknij tutaj aby załozyć konto"; } else { $theuser = " Witaj $username ! na Stronie"; } $public_msg = public_message(); $tmpl_file = "themes/Ti2k/header.html"; $thefile = implode("", file($tmpl_file)); $thefile = "$r_file="".$thefile."";"; eval($thefile); print $r_file; if ($module_name != "Forums") { blocks(left); } $tmpl_file = "themes/Ti2k/left_center.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "$r_file="".$thefile."";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themefooter() */ /* */ /* Control the footer for your site. You don't need to */ /* close BODY and HTML tags at the end. In some part call */ /* the function for right blocks with: blocks(right); */ /* Also, $index variable need to be global and is used to */ /* determine if the page your're viewing is the Homepage or */ /* and internal one. */ /************************************************************/ function themefooter() { global $index, $foot1, $foot2, $foot3, $copyright, $totaltime; if ($index == 1) { $tmpl_file = "themes/Ti2k/center_right.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "$r_file="".$thefile."";"; eval($thefile); print $r_file; blocks(right); } $footer_message = "$foot1<br>$foot2<br>$foot3<br>$copyright<br>$totaltime"; $tmpl_file = "themes/Ti2k/footer.html"; $thefile = implode("", file($tmpl_file)); $thefile = "$r_file="".$thefile."";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themeindex() */ /* */ /* This function format the stories on the Homepage */ /************************************************************/ function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) { global $anonymous, $tipath; $ThemeSel = get_theme(); if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) { $t_image = "themes/$ThemeSel/images/topics/$topicimage"; } else { $t_image = "$tipath$topicimage"; } if ($notes != "") { $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>n"; } else { $notes = ""; } if ("$aid" == "$informant") { $content = "$thetext$notesn"; } else { if($informant != "") { $content = "<a class="nav" href="modules.php?name=Your_Account&op=userinfo&uname=$informant">$informant</a> "; } else { $content = "$anonymous "; } $content .= ""._WRITES." <i>"$thetext"</i>$notesn"; } $posted = ""._POSTEDBY." "; $posted .= get_author($aid); $posted .= " "._ON." $time"; $tmpl_file = "themes/Ti2k/story_home.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "$r_file="".$thefile."";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themearticle() */ /* */ /* This function format the stories on the story page, when */ /* you click on that "Read More..." link in the home */ /************************************************************/ function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) { global $admin, $sid, $tipath; $ThemeSel = get_theme(); if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) { $t_image = "themes/$ThemeSel/images/topics/$topicimage"; } else { $t_image = "$tipath$topicimage"; } $posted = ""._POSTEDON." $datetime "._BY." "; $posted .= get_author($aid); if ($notes != "") { $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>n"; } else { $notes = ""; } if ("$aid" == "$informant") { $content = "$thetext$notesn"; } else { if($informant != "") { $content = "<a class="nav" href="modules.php?name=Your_Account&op=userinfo&uname=$informant">$informant</a> "; } else { $content = "$anonymous "; } $content .= ""._WRITES." <i>"$thetext"</i>$notesn"; } $tmpl_file = "themes/Ti2k/story_page.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "$r_file="".$thefile."";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themesidebox() */ /* */ /* Control look of your blocks. Just simple. */ /************************************************************/ function themesidebox($title, $content) { $tmpl_file = "themes/Ti2k/blocks.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "$r_file="".$thefile."";"; eval($thefile); print $r_file; } ?> I dodalem tam na koncu : Cytat /************************************************************/
/* POP UNDERY I POPUP () */ /* */ /* . */ /************************************************************/ } echo "KOD POPUNDERA" } ?> I NIE DZIAŁA (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) CO JESYT GRANE WIE KTOS ? JEST TO php-NUKE THEMES |
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 04:46 |