|
Movies Online a plik theme.php
|
| kalejdoskop |
Dodany dnia 28.10.2007 13:12:28
|

Przedszkolak

Postów: 7
Data rejestracji: 28.10.2007 13:05
ZBANOWANY: Dożywotnio
|
Otórz moja strona to: http://www.gimkow...l/news.php
Problem polega na tym i? nie dostosowuje si? panel ostatnie filmy do ca?o?ci strony, prawdopodobnie nie tam gdzie trzeba wklejam kod w theme.php o tre?ci:
function render_movie($subject, $movie, $info) {
global $locale;
include LOCALE.LOCALESET."movies.php";
opentable($subject);
echo "<div align='center'><table cellpadding='0' cellspacing='0' style='border-collapse: collapse; background-color:#;' width='100%' class='border'>";
$r = substr($movie, -3, 3);
if ($r=="wmv") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed><br><br>";
}elseif ($r=="mpg") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed><br><br>";
}elseif ($r=="avi") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed><br><br>";
}elseif ($r=="swf") {
echo "<div align='center'>";
echo"<br><br><OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'codebase='http://download.macromedia.com/pub/shckwave/cabs/flash/swflash.cab#version=5,0,0,0' WIDTH='550' HEIGHT='400' id='grmovie' name='grmovie'>
<PARAM NAME=movie VALUE='$movie'>
<param name='menu' value='false'>
<param name='quality' value='high'>
<param name='FlashVars' value='gcode=482CD697'>
<embed src='$movie' flashvars='gcode=482CD697' menu=false quality=high WIDTH='550' HEIGHT='400' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' id='grmovie' name='grmovie'></embed></object><br><br>";
}elseif ($r=="mp3") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/ ' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0' height='70' width='300'></embed><br><br>";
}elseif ($r=="wma") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/ ' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0' height='70' width='300'></embed><br><br>";
}elseif ($r=="mov") {
echo "<div align='center'>";
echo "<br><br><embed type='video/quicktime' src='$movie' controller='true' target='myself' pluginspage='http://www.apple.com/quicktime/download/' loop='FALSE' autoplay='true' border='1' height='380' width='460'></embed><br><br>";
}elseif ($r=="txt") {
echo "<div align='left'><br><br>";
$buff = nl2br(file_get_contents($movie));
echo $buff."</div><br><br>";
}else{
echo "<div align='center'>";
echo "<br><br><embed src='$movie' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' height='372' width='416'><br><br>";
}
echo "</div></table></div>";
closetable();
}
Mój theme.php wygl?da tak:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "90%";
$theme_width_l = "177";
$theme_width_r = "177";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='full-header'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='logo-top-left'></td>
<td class='logo-top-main'><center><img src='".THEME."images/logo-top-main-center.gif' border='0'></center></td>
<td class='logo-top-right'></td>
</tr>
<tr>
<td class='logo-left-main'><img src='".THEME."images/logo-left-main-center.gif' border='0'></td>
<td class='logo-main'>$header_content</td>
<td class='logo-right-main'><img src='".THEME."images/logo-right-main-center.gif' border='0'></td>
</tr>
<tr>
<td class='logo-bottom-left'></td>
<td class='logo-bottom-main'><center><img src='".THEME."images/logo-bottom-main-center.gif' border='0'></center></td>
<td class='logo-bottom-right'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>
<td class='menupoziome-l'></td><td class='menupoziome-m'>".showsublinks("·")."</td>
<td align='right' class='menupoziome-m'>".showsubdate()."</td><td class='menupoziome-r' align='right'></td>
</tr>
</table>\n";
tablebreak();
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='logo-top-left'></td>
<td class='logo-top-main'><center><img src='".THEME."images/logo-top-main-center.gif' border='0'></center></td>
<td class='logo-top-right'></td>
</tr>
<tr>
<td class='logo-left-main'></td>
<td class='logo-main'><center><br>".stripslashes($settings['footer'])."<br>
".showcounter()."<br><br>";
if ($license == false) {
echo showcopyright()."<br> \n";
}
echo "</center></td>
<td class='logo-right-main'></td>
</tr>
<tr>
<td class='logo-bottom-left'></td>
<td class='logo-bottom-main'><center><img src='".THEME."images/logo-bottom-main-center.gif' border='0'></center></td>
<td class='logo-bottom-right'></td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='news-top-left'></td>
<td class='news-top-main''> </td>
<td class='news-top-right'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-text-left'></td>
<td class='table-text-main'>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td width='100%' class='news-title'>$subject</td>
</tr>
<tr>
<td width='100%'>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='news-border-tl'></td>
<td class='news-border-t'></td>
<td class='news-border-tr'></td>
</tr>
<tr>
<td class='news-border-l'></td>
<td class='news-main'>
$news
</td>
<td class='news-border-r'></td>
</tr>
<tr>
<td class='news-border-bl'></td>
<td class='news-border-b'></td>
<td class='news-border-br'></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width='100%' style='padding-top: 5px;'>\n";
echo openform("N",$info['news_id']);
echo "Doda?: ";
echo newsposter($info," ").newsopts($info,"·").closeform("N",$info['news_id']);
echo "
</td>
</tr>
</table>
</td>
<td class='table-text-right'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-end-left'></td>
<td class='table-end-main'> </td>
<td class='table-end-right'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-title-left'></td>
<td class='table-title-main''>$subject</td>
<td class='table-title-right'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-text-left'></td>
<td class='table-text-main'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."<br><hr>\n";
echo openform("A",$info['article_id']).articleposter($info,"·").articleopts($info,"·").closeform("A",$info['article_id']);
closetable();
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-title-left'></td>
<td class='table-title-main''>$title</td>
<td class='table-title-right'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-text-left'></td>
<td class='table-text-main'>\n";
}
function closetable() {
echo "</td>
<td class='table-text-right'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-end-left'></td>
<td class='table-end-main'> </td>
<td class='table-end-right'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scroll-left'></td>
<td class='scroll-main'><center>$title</center></td>
<td class='scroll-right'></td>
</tr>
<tr>
<td class='blockborder-left'></td>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
<td class='blockborder-right'></td>
</tr>
<tr>
<td class='blockborder-leftb'></td>
<td class='blockborder-bottom'></td>
<td class='blockborder-rightb'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scroll-left'></td>
<td><table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='scroll-main'><center> $title</center></td>
<td class='scroll-mainx' width='10'>".panelbutton($state,$boxname)."</td>
</tr>
</table>
</td>
<td class='scroll-right'></td>
</tr>
<tr>
<td class='blockborder-left'></td>
<td class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
<td class='blockborder-right'></td>
</tr>
<tr>
<td class='blockborder-leftb'></td>
<td class='blockborder-bottom'></td>
<td class='blockborder-rightb'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='8'></td></tr>
</table>\n";
}
?>
Gdzie mam wklei? poprzedni kod?
Prosz? o pomoc...
Edytowane przez kalejdoskop dnia 28.10.2007 15:50:02
|
| |
|
|
| W?cibski Go?? |
Dodany dnia 30.10.2025 06:33:22
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
| IP: localhost |
|
|
| Pieka |
Dodany dnia 28.10.2007 13:15:39
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Wklej go po np. render_article.
Popraw strukture panela Najnowsze Media, wyglada na to, ze ma pootwierane tagi.
Edytowane przez Pieka dnia 28.10.2007 13:21:44
Jestem jaki jestem 
|
| |
|
|
| kalejdoskop |
Dodany dnia 28.10.2007 13:23:44
|

Przedszkolak

Postów: 7
Data rejestracji: 28.10.2007 13:05
ZBANOWANY: Dożywotnio
|
Ok dzi?ki, ale chyba jest to samo, mój plik theme.php wygl?da teraz tak:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "90%";
$theme_width_l = "177";
$theme_width_r = "177";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='full-header'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='logo-top-left'></td>
<td class='logo-top-main'><center><img src='".THEME."images/logo-top-main-center.gif' border='0'></center></td>
<td class='logo-top-right'></td>
</tr>
<tr>
<td class='logo-left-main'><img src='".THEME."images/logo-left-main-center.gif' border='0'></td>
<td class='logo-main'>$header_content</td>
<td class='logo-right-main'><img src='".THEME."images/logo-right-main-center.gif' border='0'></td>
</tr>
<tr>
<td class='logo-bottom-left'></td>
<td class='logo-bottom-main'><center><img src='".THEME."images/logo-bottom-main-center.gif' border='0'></center></td>
<td class='logo-bottom-right'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>
<td class='menupoziome-l'></td><td class='menupoziome-m'>".showsublinks("·")."</td>
<td align='right' class='menupoziome-m'>".showsubdate()."</td><td class='menupoziome-r' align='right'></td>
</tr>
</table>\n";
tablebreak();
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='logo-top-left'></td>
<td class='logo-top-main'><center><img src='".THEME."images/logo-top-main-center.gif' border='0'></center></td>
<td class='logo-top-right'></td>
</tr>
<tr>
<td class='logo-left-main'></td>
<td class='logo-main'><center><br>".stripslashes($settings['footer'])."<br>
".showcounter()."<br><br>";
if ($license == false) {
echo showcopyright()."<br> \n";
}
echo "</center></td>
<td class='logo-right-main'></td>
</tr>
<tr>
<td class='logo-bottom-left'></td>
<td class='logo-bottom-main'><center><img src='".THEME."images/logo-bottom-main-center.gif' border='0'></center></td>
<td class='logo-bottom-right'></td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='news-top-left'></td>
<td class='news-top-main''> </td>
<td class='news-top-right'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-text-left'></td>
<td class='table-text-main'>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td width='100%' class='news-title'>$subject</td>
</tr>
<tr>
<td width='100%'>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='news-border-tl'></td>
<td class='news-border-t'></td>
<td class='news-border-tr'></td>
</tr>
<tr>
<td class='news-border-l'></td>
<td class='news-main'>
$news
</td>
<td class='news-border-r'></td>
</tr>
<tr>
<td class='news-border-bl'></td>
<td class='news-border-b'></td>
<td class='news-border-br'></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width='100%' style='padding-top: 5px;'>\n";
echo openform("N",$info['news_id']);
echo "Doda?: ";
echo newsposter($info," ").newsopts($info,"·").closeform("N",$info['news_id']);
echo "
</td>
</tr>
</table>
</td>
<td class='table-text-right'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-end-left'></td>
<td class='table-end-main'> </td>
<td class='table-end-right'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-title-left'></td>
<td class='table-title-main''>$subject</td>
<td class='table-title-right'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-text-left'></td>
<td class='table-text-main'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."<br><hr>\n";
echo openform("A",$info['article_id']).articleposter($info,"·").articleopts($info,"·").closeform("A",$info['article_id']);
closetable();
}
function render_movie($subject, $movie, $info) {
global $locale;
include LOCALE.LOCALESET."movies.php";
opentable($subject);
echo "<div align='center'><table cellpadding='0' cellspacing='0' style='border-collapse: collapse; background-color:#;' width='100%' class='border'>";
$r = substr($movie, -3, 3);
if ($r=="wmv") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed><br><br>";
}elseif ($r=="mpg") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed><br><br>";
}elseif ($r=="avi") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed><br><br>";
}elseif ($r=="swf") {
echo "<div align='center'>";
echo"<br><br><OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'codebase='http://download.macromedia.com/pub/shckwave/cabs/flash/swflash.cab#version=5,0,0,0' WIDTH='550' HEIGHT='400' id='grmovie' name='grmovie'>
<PARAM NAME=movie VALUE='$movie'>
<param name='menu' value='false'>
<param name='quality' value='high'>
<param name='FlashVars' value='gcode=482CD697'>
<embed src='$movie' flashvars='gcode=482CD697' menu=false quality=high WIDTH='550' HEIGHT='400' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' id='grmovie' name='grmovie'></embed></object><br><br>";
}elseif ($r=="mp3") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/ ' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0' height='70' width='300'></embed><br><br>";
}elseif ($r=="wma") {
echo "<div align='center'>";
echo "<br><br><embed src='$movie' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/ ' autostart='1' showcontrols='1' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0' height='70' width='300'></embed><br><br>";
}elseif ($r=="mov") {
echo "<div align='center'>";
echo "<br><br><embed type='video/quicktime' src='$movie' controller='true' target='myself' pluginspage='http://www.apple.com/quicktime/download/' loop='FALSE' autoplay='true' border='1' height='380' width='460'></embed><br><br>";
}elseif ($r=="txt") {
echo "<div align='left'><br><br>";
$buff = nl2br(file_get_contents($movie));
echo $buff."</div><br><br>";
}else{
echo "<div align='center'>";
echo "<br><br><embed src='$movie' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' height='372' width='416'><br><br>";
}
echo "</div></table></div>";
closetable();
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-title-left'></td>
<td class='table-title-main''>$title</td>
<td class='table-title-right'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-text-left'></td>
<td class='table-text-main'>\n";
}
function closetable() {
echo "</td>
<td class='table-text-right'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='table-end-left'></td>
<td class='table-end-main'> </td>
<td class='table-end-right'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scroll-left'></td>
<td class='scroll-main'><center>$title</center></td>
<td class='scroll-right'></td>
</tr>
<tr>
<td class='blockborder-left'></td>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
<td class='blockborder-right'></td>
</tr>
<tr>
<td class='blockborder-leftb'></td>
<td class='blockborder-bottom'></td>
<td class='blockborder-rightb'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scroll-left'></td>
<td><table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='scroll-main'><center> $title</center></td>
<td class='scroll-mainx' width='10'>".panelbutton($state,$boxname)."</td>
</tr>
</table>
</td>
<td class='scroll-right'></td>
</tr>
<tr>
<td class='blockborder-left'></td>
<td class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
<td class='blockborder-right'></td>
</tr>
<tr>
<td class='blockborder-leftb'></td>
<td class='blockborder-bottom'></td>
<td class='blockborder-rightb'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='8'></td></tr>
</table>\n";
}
?>
|
| |
|
|
| Pieka |
Dodany dnia 28.10.2007 13:30:33
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Panel na glownej stronie popraw! Ile razy mam to pisac? Czytaj cale posty.
Jesli nie wiesz jak, to go po prostu wylacz.
Poza tym, ustaw widocznosc filmu/gry na "Publiczne", bo nic nie widac.
P.S. Zmien w panelu zawierajacym:
Dzisiaj jest niedziela 28 Pa?dziernika 2007.
Imieniny obchodz?: Szymon, Tadeusz, Serafin, Wioletta
Openside na opentable.
Edytowane przez Pieka dnia 28.10.2007 13:38:37
Jestem jaki jestem 
|
| |
|
|
| kalejdoskop |
Dodany dnia 28.10.2007 13:38:18
|

Przedszkolak

Postów: 7
Data rejestracji: 28.10.2007 13:05
ZBANOWANY: Dożywotnio
|
Panel mam ustawiony na publiczne - chyba wida? - jest jaki? dziwny, jak mam to ustawi? ?eby by?o dobrze?
edit:
ten panel mi wywala górne panele - s? jakie? rozci?gni?te
Edytowane przez kalejdoskop dnia 28.10.2007 13:39:39
|
| |
|
|
| Pieka |
Dodany dnia 28.10.2007 13:39:25
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
kalejdoskop napisa?/a:
Panel mam ustawiony na publiczne - chyba wida? - jest jaki? dziwny, jak mam to ustawi? ?eby by?o dobrze?
Czy ja pisalem, ze masz ustawic widocznosc panela? Film/gre.
O ile sie nie myle, to definiujesz to w kategorii, gdzie masz do wyboru kto ma miec dostep do niej.
Czytaj wyzej, dokladnie.
Edytowane przez Pieka dnia 28.10.2007 13:42:36
Jestem jaki jestem 
|
| |
|
|
| kalejdoskop |
Dodany dnia 28.10.2007 13:43:08
|

Przedszkolak

Postów: 7
Data rejestracji: 28.10.2007 13:05
ZBANOWANY: Dożywotnio
|
Ju? ustawi?em, ale jedyny problem to to, i? na stronie g?ównej wywala mi górne panele |
| |
|
|
| Pieka |
Dodany dnia 28.10.2007 13:47:33
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
kalejdoskop napisa?/a:
Ju? ustawi?em, ale jedyny problem to to, i? na stronie g?ównej wywala mi górne panele
To zamknij tagi, przeciez napisalem to kilka postow wyzej.
Edit: Jak widac panel byl nieudolnie przerabiany (przez autora modyfikacji) i stad problemy.
Edit2: Ponizsze edytowalem, poniewaz wczesniej nie podalem wszystkim zmian. Przepraszam.
Edytuj plik last_movies_panel.php, znajdz:
if($ticker_author+$ticker_date+$ticker_comments+$ticker_reads != "0" ) {
}
$ticker_content .= " ";
}
$ticker_content .= "</marquee></table>";
echo $ticker_content;
I zastap:
}
$ticker_content .= "";
echo $ticker_content;
closetable();
Poza tym, uprzedzajac Twoje nastepne pytanie odnosnie:
Table 'db_gimkowale5.movie_watch' doesn't exist
Tu masz odpowiedz: http://www.php-fu...post_33479
Rada na przyszlosc, zeby cos znalezc wystarczy szukac wpisujac jak w przypadku powyzszego bledu jego czesc, najlepiej bez swoich danych (czyli bez np. db_gimkowale5.).
Edytowane przez Pieka dnia 28.10.2007 14:41:15
Jestem jaki jestem 
|
| |
|
|
| kalejdoskop |
Dodany dnia 28.10.2007 14:54:39
|

Przedszkolak

Postów: 7
Data rejestracji: 28.10.2007 13:05
ZBANOWANY: Dożywotnio
|
Ok, serdeczne dzi?ki za pomoc, wszystko dzia?a. Je?eli chodzi o Table'db to wszystko dzia?a, filmy puszczam z youtube.
Jakby? móg?, to zobacz dlaczego na mojej stronie http://www.gimkow...l/news.php
Panele: "ostatnio widziani" i "shoutbox" s? jakie? obci?te, tzn. ramki si? nie domykaj?
Edytowane przez Milka dnia 28.10.2007 16:11:52
|
| |
|