Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | Kita | Off-Topic diskusijos |
Autorius: switz | Peržiūrų: 1220 |
switz Narys Tankas Pranešimai: 2261 Įstojęs: 2009 Lap. 7 14:11:14 | |
Pakeičiau dizainą r štai metą error'ą: Fatal error: Call to undefined function render_header() in /home/gedmanto/domains/mpe3.lt/public_html/subheader.php on line 51 51 subheader.php eilutė: render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>"); Kasnors padėk išpręst šią problemą. ///M3 |
|
Pakartoti slaptažodį Moderatorius Viršesnis už Dievą Pranešimai: 5188 Įstojęs: 2008 Rugp. 6 22:08:39 | |
Turbūt dizaine nėra arba su klaidomis nurodyta ši funkcija. |
|
switz Narys Tankas Pranešimai: 2261 Įstojęs: 2009 Lap. 7 14:11:14 | |
theme.php: <?php if (!defined("IN_FUSION")) { die("Access Denied"); } define("THEME_BULLET", "<span class='bullet'>·</span>"); require_once INCLUDES."theme_functions_include.php"; function render_page($license=false) { global $theme_width,$userdata,$settings,$locale,$data,$db_prefix,$lookup,$msg_count,$aidlink; echo "<div class='bg'><table align='center' cellspacing='0' cellpadding='0' width='$theme_width'> <tr> <td> <table width='847' height='0' border='0' cellpadding='0' cellspacing='0'> </td> </tr> </table>\n"; echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n"; echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor'>\n<tr> <td align='center' width='350'>"; echo "</td> <td align='center' width='420'>"; if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; } if (iMEMBER) { $msg_count = dbcount("(message_id)", DB_MESSAGES, "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'"); echo "<table cellpadding='0' cellspacing='0'> <tr> <td align='left' width='130' > <span style='color:#b4005d'><b>»</b></span> <a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='small2'>Mano profilis</a><br> <span style='color:#b4005d'><b>»</b></span> <a href='".BASEDIR."edit_profile.php' class='small2'>".$locale['global_120']."</a><br> </td> <td align='left' width='130' > <span style='color:#b4005d'><b>»</b></span> <a href='".BASEDIR."members.php' class='small2'>".$locale['global_122']."</a><br> <span style='color:#b4005d'><b>»</b></span> <a href='".BASEDIR."messages.php' class='a'>Žinutės [naujų: ".sprintf($msg_count)."]</a> </td> <td align='left' width='160'>\n"; if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { echo "<span style='color:#b4005d'><b>»</b></span> <a href='".ADMIN."index.php".$aidlink."' class='small2'>".$locale['global_123']."</a><br>\n"; } else { echo "<a href='".BASEDIR."search.php' class='small2'> </a><br>\n"; } echo "<span style='color:#b4005d'><b>»</b></span> <a href='".BASEDIR."setuser.php?logout=yes' class='small2'>".$locale['global_124']."</a> </td> </tr> </table> </td> </tr>"; } else { echo "<table align='right' width='420'><tr> <form name='loginform' method='post' action='".FUSION_SELF."'> <td><input type='text' name='user_name' value='vardas' onfocus=\"if(this.value=='vardas'){this.value='';}\" onblur=\"if(this.value==''){this.value='vardas';}\" class='id'></td> <td><input type='password' name='user_pass' value='slaptažodis' onfocus=\"if(this.value=='slaptažodis'){this.value='';}\" onblur=\"if(this.value==''){this.value='slaptažodis';}\" class='pass'></td> <td><input type='submit' name='login' value='' class='inne'></td> </tr> <tr> <td class='reg'><center><a href='".BASEDIR."register.php'>Registracija</a> | <a href='".BASEDIR."lostpassword.php' >Prisimink slaptažodi!</a></center></td> </tr> </form> </table>\n"; } echo "</td> <td align='center' width='80'>"; echo "</td> </tr> </table>"; echo "<table align='center' cellpadding='0' cellspacing='0'>\n<tr> <td><a href='".BASEDIR."index.php'><img src='".THEME."images/navigacija/01.jpg' width='146' height='51' border='0' alt=''></a></td> <td><a href='".BASEDIR."apiemus.php'><img src='".THEME."images/navigacija/02.jpg' width='159' height='51' border='0' alt=''></a></td> <td><a href='".BASEDIR."kolektyvas.php'><img src='".THEME."images/navigacija/03.jpg' width='175' height='51' border='0' alt=''></a></td> <td><a href='".BASEDIR."programa.php'><img src='".THEME."images/navigacija/04.jpg' width='175' height='51' border='0' alt=''></a></td> <td><a href='".FORUM."index.php'><img src='".THEME."images/navigacija/05.jpg' width='192' height='51' border='0' alt=''></a></td> </tr><tr>"; echo "</td></tr></table>"; echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor2'>\n<tr> <td align='center' width='19'>"; echo "</td> <td align='center' width='212'>"; include THEME."code/radio_info_foto.php"; echo "</td> <td align='center' width='42'>"; echo "</td> <td align='left' width='260'>"; if (!defined("IN_FUSION")) { die("Access Denied"); } if (isset($_POST['cast_vote']) && (isset($_POST['poll_id']) && isnum($_POST['poll_id']))) { $result = dbquery("SELECT * FROM ".DB_POLL_VOTES." WHERE vote_user='".$userdata['user_id']."' AND poll_id='".$_POST['poll_id']."'"); if (!dbrows($result)) { if (isset($_POST['voteoption']) && isnum($_POST['voteoption'])) { $result = dbquery("INSERT INTO ".DB_POLL_VOTES." (vote_user, vote_opt, poll_id) VALUES ('".$userdata['user_id']."', '".$_POST['voteoption']."', '".$_POST['poll_id']."')"); } redirect(FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "")); } } $result = dbquery("SELECT * FROM ".DB_POLLS." ORDER BY poll_started DESC LIMIT 1"); if (dbrows($result)) { $data = dbarray($result); $poll_title = $data['poll_title']; $poll_option = array(); for ($i = 0; $i <= 9; $i++) { if ($data["poll_opt_".$i]) $poll_option[$i] = $data["poll_opt_".$i]; } if (iMEMBER) $result2 = dbquery("SELECT * FROM ".DB_POLL_VOTES." WHERE vote_user='".$userdata['user_id']."' AND poll_id='".$data['poll_id']."'"); if ((!iMEMBER || !dbrows($result2)) && $data['poll_ended'] == 0) { $poll = ""; $i = 0; $num_opts = count($poll_option); while ($i < $num_opts) { $poll .= "<label><input type='radio' name='voteoption' value='$i' /> $poll_option[$i]</label><br /><br />\n"; $i++; } echo "<form name='voteform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "")."'>\n"; echo "".$poll_title."<br />\n".$poll; echo "<div style='text-align:center'><input type='hidden' name='poll_id' value='".$data['poll_id']."' />\n"; if (iMEMBER) { echo "<input type='submit' name='cast_vote' value='".$locale['global_131']."' class='button' />"; } else { echo $locale['global_132']; } echo "</div>\n</form>\n"; } else { $poll = ""; $i = 0; $num_opts = count($poll_option); $poll_votes = dbcount("(vote_opt)", DB_POLL_VOTES, "poll_id='".$data['poll_id']."'"); while ($i < $num_opts) { $num_votes = dbcount("(vote_opt)", DB_POLL_VOTES, "vote_opt='$i' AND poll_id='".$data['poll_id']."'"); $opt_votes = ($poll_votes ? number_format(100 / $poll_votes * $num_votes) : 0); $poll .= "<div>".$poll_option[$i]." ".$opt_votes."% </div>\n"; $poll .= "<div><img src='".get_image("pollbar")."' alt='".$poll_option[$i]."' height='3' width='".$opt_votes."' class='poll' /></div><br />\n"; $i++; } echo "".$poll_title." ".$poll; $result = dbquery("SELECT * FROM ".DB_POLLS); if (dbrows($result) > 1) { echo "<center><a href='".INFUSIONS."member_poll_panel/polls_archive.php' class='side'>".$locale['global_138']."</a></center>\n"; } echo "</div>\n"; } } else { echo "<div style='text-align:center'>".$locale['global_142']."</div>\n"; } echo "</td> <td align='center' width='30'>"; echo "</td> <td align='left' width='300'>"; include THEME."code/dainutop.php"; echo "</td> <td align='center' width='15'>"; echo "</td> </tr> </table>"; echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor3'>\n<tr> <td align='center' width='25'>"; echo "</td> <td align='center' width='215'>"; include THEME."code/play.php"; echo "</td> <td align='center' width='115'>"; echo "</td> <td align='left' width='400'>"; include THEME."code/radio_info_panel.php"; echo "</td> <td align='center' width='92'>"; echo "</td> </tr> </table>"; echo "<table cellpadding='0' cellspacing='0' width='847' align='center' class='content'><tr>\n"; if (LEFT) { echo "<td class='side-border-left' valign='top' width='334'>".LEFT."</td>"; } echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>"; echo "</tr>\n</table>\n"; echo "<table align='center' cellpadding='0' cellspacing='0'>\n<tr> <td><img src='".THEME."images/navigacija/06.jpg' width='297' height='35' border='0' alt=''></a></td> <td><a href='".BASEDIR."reklama.php'><img src='".THEME."images/navigacija/07.jpg' width='110' height='35' border='0' alt=''></a></td> <td><a href='".BASEDIR."karjera.php'><img src='".THEME."images/navigacija/08.jpg' width='110' height='35' border='0' alt=''></a></td> <td><a href='".BASEDIR."top10.php'><img src='".THEME."images/navigacija/09.jpg' width='110' height='35' border='0' alt=''></a></td> <td><a href='".BASEDIR."contact.php'><img src='".THEME."images/navigacija/10.jpg' width='110' height='35' border='0' alt=''></a></td> <td><a href='".BASEDIR."remejai.php'><img src='".THEME."images/navigacija/11.jpg' width='110' height='35' border='0' alt=''></a></td> </tr><tr>"; echo "</td></tr></table>"; echo "<table width='847' height='112' border='0' cellpadding='0' cellspacing='0' align='center' class='footer'> <tr> <td align='right' width='29'>"; echo "</td> <td align='right' width='468'>"; echo "<a href='http://www.decolor.lt/' target='_blank'> <img src='http://www.decolor.lt/images/468x60.gif' width='468' height='60' border='0' title='Tavo reklamos vieta 468x60' alt=''></a >\n"; echo "</td> <td align='right' width='341'>"; echo "</td> </tr> </table> </td> </tr> </table>\n"; echo "<table width='845' height='60' border='0' cellpadding='0' cellspacing='0' align='center' class='footer2'> <tr> <td align='center'> <b>Visos teisės saugomos © VšĮ „ LAROCCA“. Kopijuoti griežtai draudžiama.</b><br> Kiekvienas jūsų paspaudimas yra stebimas administratorių, tad nemanau ar vertėtų mums kenkti, kopijuoti informaciją! </td> </tr> </table> </td> </tr> </table>\n"; echo "<table width='845' height='135' border='0' cellpadding='0' cellspacing='0' align='center' class='footer3'> <tr> <td align='right' width='48'>"; echo "</td> <td align='right' width='750'>"; echo "<a href='http://www.decolor.lt/' target='_blank'> <img src='http://www.part.lt/img/28f23e1770fac9cff56fef16aa2fe527338.jpg' width='750' height='100' style='border:1px solid #5b334d' title='Tavo reklamos vieta 750x100' alt=''></a >\n"; echo "</td> <td align='right' width='48'>"; echo "</td> </tr> </table> </td> </tr> </table></div>\n"; } function render_news($subject, $news, $info) { echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td width='100%' class='panel-main3'>$subject</td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>"; echo "<div style='margin-top:0px'>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>"; echo "<td align='left' class='infobar'><a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>·<b> Skaityti daugiau </b></a></td>"; echo "<td align='right' class='infobar'><b>".showdate("%y.%m.%d", $info['news_date'])."</b></td>"; echo "</td></tr></table></div></td>"; echo "</td></tr><tr>"; echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>"; echo "</tr></table>\n"; } function render_article($subject, $article, $info) { echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td width='100%' class='panel-main3'>$subject</td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='article-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>"; echo "<div style='margin-top:5px'>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>"; echo "<td class='infobar2'>".articleposter($info," ·")."</td>"; echo "<td align='right' class='infobar2'>"; echo articleopts($info,"·").itemoptions("A",$info['article_id']); echo "</td></tr></table></div></td>"; echo "</tr><tr>"; echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>"; echo "</tr></table><br>\n"; } function opentable($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'>"; echo "<td width='100%' class='panel-main2'>$title</td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='table-body'><br>\n"; } function closetable() { echo "</td>"; echo "<tr>"; echo "<td class='border-bmain2'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>"; echo "</tr></table><br>\n"; } function openside($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td width='100%' class='panel-main'>$title</td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='side-body'><br>\n"; } function closeside() { global $panel_collapse; if ($panel_collapse == true) { echo "</div>\n"; } echo "</td>"; echo "<tr>"; echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>"; echo "</tr></table><br>\n"; } function openstatistika($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td width='100%' class='n-virsus'>$title</td>"; echo "</tr></table>"; echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>"; echo "<td class='n-centras'><br>\n"; } function closestatistika() { global $panel_collapse; if ($panel_collapse == true) { echo "</div>\n"; } echo "</td>"; echo "<tr>"; echo "<td class='n-apacia'><img src='".THEME."images/blank.gif' width='1' height='8' alt='' style='display:block'></td>"; echo "</tr></table><br>\n"; } ?> Manau joje kažkas blogai. Čia yra larocca.lt dizainas. |
|
edeni Narys Terminatorius Pranešimai: 1502 Įstojęs: 2008 Vas. 7 19:02:18 | |
Tu dedi dizainą skirtą v7 ant v6, dėl to ir errorai http://itouch.lt - iBendruomenė. |
|
switz Narys Tankas Pranešimai: 2261 Įstojęs: 2009 Lap. 7 14:11:14 | |
Goku parašė: Tu dedi dizainą skirtą v7 ant v6, dėl to ir errorai tai kad buvo įdėtas tarp v7 dizainų ///M3 |
Peršokti į forumą: |