Tarih: 2008-04-29, 22:47:39 Mesaj konusu: Re: Değişen Haber Uygulaması + Resim Yüklemeli Haber Modülü
Hocam yardiminiza ihtiyacim var:-)resim eklemeli haber modulunu indirdim kurabildigim kadar kurdum.story_home.html,story_page.html ve theme.php ye gelince devamini getiremedim.tema ile ilgili kodlari asagiya yaziyorum.resim ekleme ile ilgili bölümlere bir el atarmisiniz lütfen.
/************************************************************/
/* 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 $admin, $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $db, $nukeurl, $anonymous, $Version_Num, $blockside;
if ($Version_Num > "7.7") {
$showbanners = ads(0);
} else {
if ($banners == 1) {
$numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_banner WHERE type='0' AND active='1'"));
/* Get a random banner if exist any. */
/* More efficient random stuff, thanks to Cristian Arroyo from http://www.pllinux.com.ar */
if (!is_admin($admin)) {
$db->sql_query("UPDATE ".$prefix."_banner SET impmade=impmade+1 WHERE bid='$bid'");
}
if($numrows>0) {
$sql2 = "SELECT cid, imptotal, impmade, clicks, date FROM ".$prefix."_banner WHERE bid='$bid'";
$result2 = $db->sql_query($sql2);
$row2 = $db->sql_fetchrow($result2);
$cid = $row2[cid];
$imptotal = $row2[imptotal];
$impmade = $row2[impmade];
$clicks = $row2[clicks];
$date = $row2[date];
/* Check if this impression is the last one and print the banner */
if (($imptotal <= $impmade) AND ($imptotal != 0)) {
$db->sql_query("UPDATE ".$prefix."_banner SET active='0' WHERE bid='$bid'");
$sql3 = "SELECT name, contact, email FROM ".$prefix."_bannerclient WHERE cid='$cid'";
$result3 = $db->sql_query($sql3);
$row3 = $db->sql_fetchrow($result3);
$c_name = $row3[name];
$c_contact = $row3[contact];
$c_email = $row3[email];
if ($c_email != "") {
$from = "$sitename <$adminmail>";
$to = "$c_contact <$c_email>";
$message = ""._HELLO." $c_contact:\n\n";
$message .= ""._THISISAUTOMATED."\n\n";
$message .= ""._THERESULTS."\n\n";
$message .= ""._TOTALIMPRESSIONS." $imptotal\n";
$message .= ""._CLICKSRECEIVED." $clicks\n";
$message .= ""._IMAGEURL." $imageurl\n";
$message .= ""._CLICKURL." $clickurl\n";
$message .= ""._ALTERNATETEXT." $alttext\n\n";
$message .= ""._HOPEYOULIKED."\n\n";
$message .= ""._THANKSUPPORT."\n\n";
$message .= "- $sitename "._TEAM."\n";
$message .= "$nukeurl";
$subject = "$sitename: "._BANNERSFINNISHED."";
mail($to, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
}
}
$showbanners = "<a href=\"banners.php?op=click&bid=$bid\" target=\"_blank\"><img src=\"$imageurl\" border=\"0\" alt='$alttext' title='$alttext'></a>";
}
}
}
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body bgcolor=\"#FFFFFF\" text=\"#000000\" leftmargin=\"10\" topmargin=\"10\" marginwidth=\"10\" marginheight=\"10\">";
if ($username == "Anonymous") {
$theuser = " <a href=\"modules.php?name=Your_Account\">"._LOGIN."</a>/<a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
} else {
$theuser = " "._BWEL." $username!";
}
$datetime = "<script type=\"text/j a v a s c r i p t\">\n\n"
."<!-- // Array ofmonth Names\n"
."var monthNames = new Array( \""._JANUARY."\",\""._FEBRUARY."\",\""._MARCH."\",\""._APRIL."\",\""._MAY."\",\""._JUNE."\",\""._JULY."\",\""._AUGUST."\",\""._SEPTEMBER."\",\""._OCTOBER."\",\""._NOVEMBER."\",\""._DECEMBER."\");\n"
."var now = new Date();\n"
."thisYear = now.getYear()+543;\n"
."if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem\n"
."document.write(now.getDate() + \" \" + monthNames[now.getMonth()] + \" \" + thisYear);\n"
."// -->\n\n"
."</script>";
$public_msg = public_message();
$tmpl_file = "themes/Nuke-sun/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
$blockside="l";
blocks(left);
$tmpl_file = "themes/Nuke-sun/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($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, $foot4, $copyright, $totaltime, $footer_message, $blockside;
if (defined('INDEX_FILE') || ($index == 1)) {
$tmpl_file = "themes/Nuke-sun/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
$blockside="r";
blocks(right);
}
$tmpl_file = "themes/Nuke-sun/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
//echo "<center>\n";
//$footer_message = footmsg();
// echo "</center>\n";
//echo "<br>\n";
}
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/
/************************************************************/
/* Function themearticle() */
/* */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home */
/************************************************************/
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. Just simple. */
/************************************************************/
function themesidebox($title, $content) {
global $blockside;
if ($blockside=="l") {
$tmpl_file = "themes/Nuke-sun/blockleft.html";
} else {
$tmpl_file = "themes/Nuke-sun/blockright.html";
}
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
Tarih: 2008-04-30, 00:13:46 Mesaj konusu: Re: Değişen Haber Uygulaması + Resim Yüklemeli Haber Modülü
story_home.html ve story_page.html sayfalarının neresinde haber fotoğrafının görünmesini istiyorsan oraya image kodu ekleyeceksin. örnek aşağıda ki kod;
Tarih: 2008-04-30, 00:31:26 Mesaj konusu: Re: Değişen Haber Uygulaması + Resim Yüklemeli Haber Modülü
atatan :
Hocam yardiminiza ihtiyacim var:-)resim eklemeli haber modulunu indirdim kurabildigim kadar kurdum.story_home.html,story_page.html ve theme.php ye gelince devamini getiremedim.tema ile ilgili kodlari asagiya yaziyorum.resim ekleme ile ilgili bölümlere bir el atarmisiniz lütfen.
/************************************************************/
/* 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 $admin, $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $db, $nukeurl, $anonymous, $Version_Num, $blockside;
if ($Version_Num > "7.7") {
$showbanners = ads(0);
} else {
if ($banners == 1) {
$numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_banner WHERE type='0' AND active='1'"));
/* Get a random banner if exist any. */
/* More efficient random stuff, thanks to Cristian Arroyo from http://www.pllinux.com.ar */
if (!is_admin($admin)) {
$db->sql_query("UPDATE ".$prefix."_banner SET impmade=impmade+1 WHERE bid='$bid'");
}
if($numrows>0) {
$sql2 = "SELECT cid, imptotal, impmade, clicks, date FROM ".$prefix."_banner WHERE bid='$bid'";
$result2 = $db->sql_query($sql2);
$row2 = $db->sql_fetchrow($result2);
$cid = $row2[cid];
$imptotal = $row2[imptotal];
$impmade = $row2[impmade];
$clicks = $row2[clicks];
$date = $row2[date];
/* Check if this impression is the last one and print the banner */
if (($imptotal <= $impmade) AND ($imptotal != 0)) {
$db->sql_query("UPDATE ".$prefix."_banner SET active='0' WHERE bid='$bid'");
$sql3 = "SELECT name, contact, email FROM ".$prefix."_bannerclient WHERE cid='$cid'";
$result3 = $db->sql_query($sql3);
$row3 = $db->sql_fetchrow($result3);
$c_name = $row3[name];
$c_contact = $row3[contact];
$c_email = $row3[email];
if ($c_email != "") {
$from = "$sitename <$adminmail>";
$to = "$c_contact <$c_email>";
$message = ""._HELLO." $c_contact:\n\n";
$message .= ""._THISISAUTOMATED."\n\n";
$message .= ""._THERESULTS."\n\n";
$message .= ""._TOTALIMPRESSIONS." $imptotal\n";
$message .= ""._CLICKSRECEIVED." $clicks\n";
$message .= ""._IMAGEURL." $imageurl\n";
$message .= ""._CLICKURL." $clickurl\n";
$message .= ""._ALTERNATETEXT." $alttext\n\n";
$message .= ""._HOPEYOULIKED."\n\n";
$message .= ""._THANKSUPPORT."\n\n";
$message .= "- $sitename "._TEAM."\n";
$message .= "$nukeurl";
$subject = "$sitename: "._BANNERSFINNISHED."";
mail($to, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
}
}
$showbanners = "<a href=\"banners.php?op=click&bid=$bid\" target=\"_blank\"><img src=\"$imageurl\" border=\"0\" alt='$alttext' title='$alttext'></a>";
}
}
}
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body bgcolor=\"#FFFFFF\" text=\"#000000\" leftmargin=\"10\" topmargin=\"10\" marginwidth=\"10\" marginheight=\"10\">";
if ($username == "Anonymous") {
$theuser = " <a href=\"modules.php?name=Your_Account\">"._LOGIN."</a>/<a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
} else {
$theuser = " "._BWEL." $username!";
}
$datetime = "<script type=\"text/j a v a s c r i p t\">\n\n"
."<!-- // Array ofmonth Names\n"
."var monthNames = new Array( \""._JANUARY."\",\""._FEBRUARY."\",\""._MARCH."\",\""._APRIL."\",\""._MAY."\",\""._JUNE."\",\""._JULY."\",\""._AUGUST."\",\""._SEPTEMBER."\",\""._OCTOBER."\",\""._NOVEMBER."\",\""._DECEMBER."\");\n"
."var now = new Date();\n"
."thisYear = now.getYear()+543;\n"
."if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem\n"
."document.write(now.getDate() + \" \" + monthNames[now.getMonth()] + \" \" + thisYear);\n"
."// -->\n\n"
."</script>";
$public_msg = public_message();
$tmpl_file = "themes/Nuke-sun/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
$blockside="l";
blocks(left);
$tmpl_file = "themes/Nuke-sun/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($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, $foot4, $copyright, $totaltime, $footer_message, $blockside;
if (defined('INDEX_FILE') || ($index == 1)) {
$tmpl_file = "themes/Nuke-sun/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
$blockside="r";
blocks(right);
}
$tmpl_file = "themes/Nuke-sun/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
//echo "<center>\n";
//$footer_message = footmsg();
// echo "</center>\n";
//echo "<br>\n";
}
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/
/************************************************************/
/* Function themearticle() */
/* */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home */
/************************************************************/
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. Just simple. */
/************************************************************/
function themesidebox($title, $content) {
global $blockside;
if ($blockside=="l") {
$tmpl_file = "themes/Nuke-sun/blockleft.html";
} else {
$tmpl_file = "themes/Nuke-sun/blockright.html";
}
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
?>
--------------------------
saygilar Hocam
atakan
theme.php
Kod:
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext,$resim) {
global $anonymous, $tipath,$resim;
ve
Kod:
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext,$resim) {
global $admin, $sid, $tipath,$resim;
Tarih: 2008-04-30, 22:50:09 Mesaj konusu: Re: Değişen Haber Uygulaması + Resim Yüklemeli Haber Modülü
gediz43 ve webtema Hocalarim ilginiz ve yardimlariniz icin cok tesekkür ederim.verdiginiz kodlar deepblue temasinda sahane calisti ve hatta 8.1 versiyonu üzerinden de denedim sorunsuz calisti.gercekten harukilade:-) simdi tek sorunum kaldi:-(tema degistirince sayfa karariyor ve ortaya bir sürü hata kodlari geliyor.ortaya cikan hata kodlarini yaziyorum.
Warning: include(themes/Nukesun/tables.php) [function.include]: failed to open stream: No such file or directory in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 10
Warning: include() [function.include]: Failed opening 'themes/Nukesun/tables.php' for inclusion (include_path='.:') in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 10
Warning: file(themes/Nukesun/header.html) [function.file]: failed to open stream: No such file or directory in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 114
Warning: implode() [function.implode]: Invalid arguments passed in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 114
Warning: file(themes/Nukesun/blockleft.html) [function.file]: failed to open stream: No such file or directory in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 257
Warning: implode() [function.implode]: Invalid arguments passed in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 257
Warning: file(themes/Nukesun/blockleft.html) [function.file]: failed to open stream: No such file or directory in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 257
Warning: implode() [function.implode]: Invalid arguments passed in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 257
Warning: file(themes/Nukesun/blockleft.html) [function.file]: failed to open stream: No such file or directory in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 257
Warning: implode() [function.implode]: Invalid arguments passed in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 257
Warning: file(themes/nukesun/blockleft.html) [function.file]: failed to open stream: No such file or directory in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 257
Warning: implode() [function.implode]: Invalid arguments passed in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 257
Warning: file(themes/Nukesun/blockleft.html) [function.file]: failed to open stream: No such file or directory in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 257
Warning: implode() [function.implode]: Invalid arguments passed in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 257
Warning: file(themes/Nukesun/left_center.html) [function.file]: failed to open stream: No such file or directory in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 122
Warning: implode() [function.implode]: Invalid arguments passed in /usr/export/www/vhosts/funnetwork/hosting/posofnet/themes/Nuke-sun/theme.php on line 122
Fatal error: Call to undefined function OpenTable() in /usr/export/www/vhosts/funnetwork/hosting/posofnet/admin.php on line 229
/************************************************************/
/* 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 $admin, $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $db, $nukeurl, $anonymous, $Version_Num, $blockside;
if ($Version_Num > "7.7") {
$showbanners = ads(0);
} else {
if ($banners == 1) {
$numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_banner WHERE type='0' AND active='1'"));
/* Get a random banner if exist any. */
/* More efficient random stuff, thanks to Cristian Arroyo from http://www.planetalinux.com.ar */
if (!is_admin($admin)) {
$db->sql_query("UPDATE ".$prefix."_banner SET impmade=impmade+1 WHERE bid='$bid'");
}
if($numrows>0) {
$sql2 = "SELECT cid, imptotal, impmade, clicks, date FROM ".$prefix."_banner WHERE bid='$bid'";
$result2 = $db->sql_query($sql2);
$row2 = $db->sql_fetchrow($result2);
$cid = $row2[cid];
$imptotal = $row2[imptotal];
$impmade = $row2[impmade];
$clicks = $row2[clicks];
$date = $row2[date];
/* Check if this impression is the last one and print the banner */
if (($imptotal <= $impmade) AND ($imptotal != 0)) {
$db->sql_query("UPDATE ".$prefix."_banner SET active='0' WHERE bid='$bid'");
$sql3 = "SELECT name, contact, email FROM ".$prefix."_bannerclient WHERE cid='$cid'";
$result3 = $db->sql_query($sql3);
$row3 = $db->sql_fetchrow($result3);
$c_name = $row3[name];
$c_contact = $row3[contact];
$c_email = $row3[email];
if ($c_email != "") {
$from = "$sitename <$adminmail>";
$to = "$c_contact <$c_email>";
$message = ""._HELLO." $c_contact:\n\n";
$message .= ""._THISISAUTOMATED."\n\n";
$message .= ""._THERESULTS."\n\n";
$message .= ""._TOTALIMPRESSIONS." $imptotal\n";
$message .= ""._CLICKSRECEIVED." $clicks\n";
$message .= ""._IMAGEURL." $imageurl\n";
$message .= ""._CLICKURL." $clickurl\n";
$message .= ""._ALTERNATETEXT." $alttext\n\n";
$message .= ""._HOPEYOULIKED."\n\n";
$message .= ""._THANKSUPPORT."\n\n";
$message .= "- $sitename "._TEAM."\n";
$message .= "$nukeurl";
$subject = "$sitename: "._BANNERSFINNISHED."";
mail($to, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
}
}
$showbanners = "<a href=\"banners.php?op=click&bid=$bid\" target=\"_blank\"><img src=\"$imageurl\" border=\"0\" alt='$alttext' title='$alttext'></a>";
}
}
}
c o o k i edecode($user);
$username = $c o o k i e[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body bgcolor=\"#FFFFFF\" text=\"#000000\" leftmargin=\"10\" topmargin=\"10\" marginwidth=\"10\" marginheight=\"10\">";
if ($username == "Anonymous") {
$theuser = " <a href=\"modules.php?name=Your_Account\">"._LOGIN."</a>/<a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
} else {
$theuser = " "._BWEL." $username!";
}
$datetime = "<script type=\"text/j a v a s c r i p t\">\n\n"
."<!-- // Array ofmonth Names\n"
."var monthNames = new Array( \""._JANUARY."\",\""._FEBRUARY."\",\""._MARCH."\",\""._APRIL."\",\""._MAY."\",\""._JUNE."\",\""._JULY."\",\""._AUGUST."\",\""._SEPTEMBER."\",\""._OCTOBER."\",\""._NOVEMBER."\",\""._DECEMBER."\");\n"
."var now = new Date();\n"
."thisYear = now.getYear()+543;\n"
."if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem\n"
."document.write(now.getDate() + \" \" + monthNames[now.getMonth()] + \" \" + thisYear);\n"
."// -->\n\n"
."</script>";
$public_msg = public_message();
$tmpl_file = "themes/Nuke22-dec-07/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
$blockside="l";
blocks(left);
$tmpl_file = "themes/Nuke22-dec-07/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($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, $foot4, $copyright, $totaltime, $footer_message, $blockside;
if (defined('INDEX_FILE') || ($index == 1)) {
$tmpl_file = "themes/Nuke22-dec-07/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
$blockside="r";
blocks(right);
}
$tmpl_file = "themes/Nuke22-dec-07/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
//echo "<center>\n";
//$footer_message = footmsg();
// echo "</center>\n";
//echo "<br>\n";
}
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/
/************************************************************/
/* Function themearticle() */
/* */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home */
/************************************************************/
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. Just simple. */
/************************************************************/
function themesidebox($title, $content) {
global $blockside;
if ($blockside=="l") {
$tmpl_file = "themes/Nuke22-dec-07/blockleft.html";
} else {
$tmpl_file = "themes/Nuke22-dec-07/blockright.html";
}
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
Tarih: 2008-04-30, 23:50:41 Mesaj konusu: Re: Değişen Haber Uygulaması + Resim Yüklemeli Haber Modülü
Hocam harikasiniz:-)temalari nasil olmussa karistirmisim:-) isyerinde kosturmaktan beynim sulandi birde pek anlamadigim islerle ugrasinca tam karistirdik:-)kusura bakmayin basinizi agrittim.
Hocam temayi gerekli kodlari yazdiktan sonra tamamiyle yeniden yükledim.görünüm acisindan sorun kalmadi simdiki sorun ise haberin devamina tiklayinca Sorry, too many page loads in so little time! bu hatayi veriyor.sayfa beyaz ve yukarida yaziyor bu yaziyi.ingilizce anlamini biliyorum ama yapilacak islemi bilmiyorum hocam.bu sorun DeepBlue temasinda oldugu gibi diger temalarda da geliyor.
Kayıt: Oct 07, 2006 Mesajlar: 1856 Konum: Dünya'nın Bi Yerinden
Tarih: 2008-05-01, 10:20:44 Mesaj konusu:
hocm bu ekledikleriniz dosyalardan hangisi en son güncellediğiniz.Bu sayfa biraz karıştı gibi. sadelik getirsek yada son güncellenmiş halini netopsiyon dosyalar bölümüne kaysanız olurmu?
Birde haber okuma sayfasında -zoom ve +zoom var o eklentiyi paylaşma imkanınız varmı?
hocm bu ekledikleriniz dosyalardan hangisi en son güncellediğiniz.Bu sayfa biraz karıştı gibi. sadelik getirsek yada son güncellenmiş halini Netopsiyon dosyalar bölümüne kaysanız olurmu?
Birde haber okuma sayfasında -zoom ve +zoom var o eklentiyi paylaşma imkanınız varmı?
Kolay Gelsin
En Son Güncellenmiş halini ilk mesaja ekledim. Netopsiyon Dosyalar bölümünden gönderdim dosyayı ama halen yayınlanmadı.
Haber okuma sayfasındaki yazı fontu büyütme küçülteme eklentisi tam çalışmıyor. Haber metninde <p><span> vb taglar olduğunda çalışmıyor.
Çalışan bir eklenti hazırladığımda paylaşırım.
Tarih: 2008-05-01, 12:47:10 Mesaj konusu: Re: Değişen Haber Uygulaması + Resim Yüklemeli Haber Modülü
Gediz43 Hocam sanirim bu flood olayini yavas yavas kavramaya basliyorum.
Haber bloklarinda resim oldugu icin haberin devami na tiklayinca blokta resim oldugundan dolayi haberin devamina gecis istenilen zamanda olmadigi icin flood devreye giriyor ve sayfa acilmiyor.
tam kesin bilmiyorum sadece benim bu benim tahminim.
Gediz43 Hocam sanirim bu flood olayini yavas yavas kavramaya basliyorum.
Haber bloklarinda resim oldugu icin haberin devami na tiklayinca blokta resim oldugundan dolayi haberin devamina gecis istenilen zamanda olmadigi icin flood devreye giriyor ve sayfa acilmiyor.
tam kesin bilmiyorum sadece benim bu benim tahminim.
Hocam sanirim sorunu buldum gibi.anasayfadaki haber blogundan haberin devami safasina baglanti yok.bu sorunu nasil cözecegiz acaba?
Gediz43 Hocam sanirim bu flood olayini yavas yavas kavramaya basliyorum.
Haber bloklarinda resim oldugu icin haberin devami na tiklayinca blokta resim oldugundan dolayi haberin devamina gecis istenilen zamanda olmadigi icin flood devreye giriyor ve sayfa acilmiyor.
tam kesin bilmiyorum sadece benim bu benim tahminim.
Hocam sanirim sorunu buldum gibi.anasayfadaki haber blogundan haberin devami safasina baglanti yok.bu sorunu nasil cözecegiz acaba?
Tarih: 2008-05-06, 22:53:26 Mesaj konusu: Re: Değişen Haber Uygulaması + Resim Yüklemeli Haber Modülü
bilinmez :
buna benzer 7.6 3.3 patc çalişan haber bloku bulabilirmiyiz
Modül 7.7-7.8-7.9 patc siz sürümlerde tarafımdan denenmiştir ve sorunsuz olarak çalışmaktadır.
Diğer sürümlerde hata alındığınız söylediler deneyen arkadaşlar.
sadrazam37 :
Selam İrfan Bey,
Bunu 8.0 için de modifiye ettiniz mi? NSN news ile çalışıyor mu?
8.0 da arkadaşın biri çalıştırmış. Yalnız haberin devamına tıklandığında site sonsuz döngüye giriyor ve açılmıyormuş. NSN News modülüne uyarlanmamıştır.
Hocam bizim site gitti maalesef, haberin devami açılmıyor
eski news yedeğini almıştım ama sql yedek almamiştim, şimdi geri de duzeltemiyorum, ne yapabilirim. Ayrıca sizden YARDIM istemek için hotmail adresinizi msn'me ekledim kusura bakmayiniz hocam
Tarih: 2008-05-07, 01:58:50 Mesaj konusu: Re: Değişen Haber Uygulaması + Resim Yüklemeli Haber Modülü
irfan 7.6 3.3 patc surumunde buna benzer bi değişen haber bloku bulabilirmiyiz dedim bunuda 7.6 3.3 patc uyarlicakmisiniz her şey için tşk ederim mesajima cevap yazdiğiniz için saolun kolay gele
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız