FORUM SUPERMEYDAN  
Web Tasarım Estetik Estetik prefabrik key ödemeleri Alışveriş

Geri git   FORUM SUPERMEYDAN > BİLGİSAYAR & İNTERNET > Webmaster Dünyası > php nuke

Forumu Tam Sayfa Açtırma

Webmaster Dünyası katogorisi php nuke forumu içinde "Forumu Tam Sayfa Açtırma" başlıklı konu görüntüleniyor, "Sitemde forumu tam safya açtırmak istiyorum Aşşağıdaki tema php dosyasında değiştirmem gereken bölüm neresi acaba. Yardımcı olurmusunuz Kod: <?php /************************************************************/ /* Theme Name: iCGstation */ /* Theme Design: mikem (www.nukemods.com) ..."

Cevapla
 
LinkBack Seçenekler Stil
Alt 14-04-2006, 10:26 PM   #1
Yeni Uye
 
arkadas_ca - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Dec 2005
Yaş: 26
Mesajlar: 68
Cinsiyet:
Rep Gücü: 5 Rep: 231
arkadas_ca has a spectacular aura aboutarkadas_ca has a spectacular aura aboutarkadas_ca has a spectacular aura about
Forumu Tam Sayfa Açtırma

Sitemde forumu tam safya açtırmak istiyorum

Aşşağıdaki tema php dosyasında değiştirmem gereken bölüm neresi acaba.

Yardımcı olurmusunuz

Kod:
<?php

/************************************************************/
/* Theme Name: iCGstation                                   */
/* Theme Design: mikem (www.nukemods.com)                   */
/* version 3.0                                              */
/* Theme inspired by the phpbb2 style iCGstation by         */
/* iCGstation v1.0 Template By Ray © 2003, 2004 iOptional   */
/*                                                          */
/* Copyright Notice                                         */
/* - THIS PACKAGE IS NOT RELEASED AS GPL/GNU SCRIPTING.     */
/* - Our Package name and link MUST REMAIN in the credit    */
/*   footer of all Nuke generated pages.                    */
/*   Translations are permitted, not renaming.              */
/* - This package CAN NOT be ported without written         */
/*   permission.                                            */
/* - This package CAN NOT be mirrored without written       */
/*   permission.                                            */
/* - Use of this package requires that credits to the       */
/*   original PHPNuke remain in all site generated          */
/*   page footers.                                          */
/*                                                          */
/************************************************************/

/************************************************************/
/* Theme Colors Definition                                  */
/*                                                          */
/* Define colors for your web site. $bgcolor2 is generaly   */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the  */
/* other two bgcolor variables follows the same criteria.   */
/* $texcolor1 and 2 are for tables internal texts           */
/************************************************************/

$bgcolor1 = "#EAEAEA";
$bgcolor2 = "#EAEAEA";
$bgcolor3 = "#EAEAEA";
$bgcolor4 = "#EAEAEA";
$textcolor1 = "#000000";
$textcolor2 = "#000000";

include("themes/iCGstation/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  $admin, $user, $banners, $sitename, $slogan, $cookie, $prefix, $db, $nukeurl, $anonymous;
    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 ($numrows>1) { 
   $numrows = $numrows-1; 
   mt_srand((double)microtime()*1000000); 
   $bannum = mt_rand(0, $numrows); 
    } else { 
   $bannum = 0; 
    } 
    $sql = "SELECT bid, imageurl, clickurl, alttext FROM ".$prefix."_banner WHERE type='0' AND active='1' LIMIT $bannum,1"; 
    $result = $db->sql_query($sql); 
    $row = $db->sql_fetchrow($result); 
    $bid = $row[bid]; 
    $imageurl = $row[imageurl]; 
    $clickurl = $row[clickurl]; 
    $alttext = $row[alttext]; 
    
    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>&nbsp;"; 
    }
}
        cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#FFFFFF\" text=\"#000000\">";
	
    if ($username == "Anonymous") {
	$theuser = "&nbsp;&nbsp;<a href=\"modules.php?name=Your_Account\">"._LOGIN."</a> or <a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
    } else {
	$theuser = "&nbsp;&nbsp;"._BWEL." $username!";
    }
    
                	    $datetime = "<script type=\"text/javascript\">\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();\n"
	        ."if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem\n"
	        ."document.write(monthNames[now.getMonth()] + \" \" + now.getDate() + \", \" + thisYear);\n"
	        ."// -->\n\n"
	        ."</script>";
	        
            	$public_msg = public_message();
    $tmpl_file = "themes/iCGstation/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
    blocks(left);
    $tmpl_file = "themes/iCGstation/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, $foot4, $copyright, $totaltime, $footer_message;
    if ($index == 1) {
	$tmpl_file = "themes/iCGstation/center_right.html";
	$thefile = implode("", file($tmpl_file));
	$thefile = addslashes($thefile);
	$thefile = "\$r_file=\"".$thefile."\";";
	eval($thefile);
	print $r_file;
	blocks(right);
    }	

echo"				</td>"
  . "			</tr>"
  . "		</table>"
  . "		<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">"
  . "		  <tr> "
  . "			<td align=\"right\"><a href=\"#top\"><img src=\"themes/iCGstation/forums/images/top.gif\" border=\"0\" /></a></td>"
  . "		  </tr>"
  . "		</table>"
  . "		<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">"
  . "		  <tr> "
  . "			<td><a href=\"http://www.nukemods.com\" target=\"_blank\"><img src=\"themes/iCGstation/forums/images/bt_left.gif\" border=\"0\" /></a></td>"
  . "			<td width=\"100%\" class=\"indexbom\" align=\"center\">";
  
        $footer_message = footmsg();  
  
echo "			</td>"
  . "			<td><a href=\"http://www.ioptional.com\" target=\"_blank\"><img src=\"themes/iCGstation/forums/images/bt_right.gif\" border=\"0\" /></a></td>"
  . "		  </tr>"
  . "		</table>"
  . "	</td>"
  . "	<td width=\"10\" nowrap=\"nowrap\" class=\"righttd\"></td>"
  . "  </tr>"
  . "</table>"
 ."";

}

/************************************************************/
/* 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;
    if ($notes != "") {
	$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
	$notes = "";
    }
    if ("$aid" == "$informant") {
	$content = "$thetext$notes\n";
    } else {
	if($informant != "") {
	    $content = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$informant\">$informant</a> ";
	} else {
	    $content = "$anonymous ";
	}
	$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    $posted = ""._POSTEDBY." ";
    $posted .= get_author($aid);
    $posted .= " "._ON." $time $timezone ($counter "._READS.")";
    $tmpl_file = "themes/iCGstation/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;
    $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$notes\n";
    } else {
	if($informant != "") {
	    $content = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$informant\">$informant</a> ";
	} else {
	    $content = "$anonymous ";
	}
	$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    $tmpl_file = "themes/iCGstation/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/iCGstation/blocks.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

?>
arkadas_ca isimli Üye şimdilik offline konumundadır  
Mesajı Digg'e ekleMesajı del.icio.us'a ekleMesajı Technorati'ye ekleMesajı FURL ekleSpurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
Herşey Yarı Fiyatına..
Alt 14-04-2006, 10:43 PM   #2
SITE ADMİN
 
YukseLL - ait Kullanıcı Resmi (Avatar)
Güclu insanlar daima Uysal,Zayıf insanlar daima Hırcındır
 
Üyelik tarihi: Nov 2005
Nerden: Samsun/TURKEY
Yaş: 33
Mesajlar: 6.062
Blog Mesajları: 25
Cinsiyet:
Rep Gücü: 407 Rep: 39735
YukseLL çok gurur duyuyorYukseLL çok gurur duyuyorYukseLL çok gurur duyuyorYukseLL çok gurur duyuyorYukseLL çok gurur duyuyorYukseLL çok gurur duyuyorYukseLL çok gurur duyuyorYukseLL çok gurur duyuyorYukseLL çok gurur duyuyorYukseLL çok gurur duyuyorYukseLL çok gurur duyuyor
Alttaki kodları Theme.php olarak kaydet dene bakalım Olacakmı?

Kod:
<?php

/************************************************************/
/* Theme Name: iCGstation                                   */
/* Theme Design: mikem (www.nukemods.com)                   */
/* version 3.0                                              */
/* Theme inspired by the phpbb2 style iCGstation by         */
/* iCGstation v1.0 Template By Ray © 2003, 2004 iOptional   */
/*                                                          */
/* Copyright Notice                                         */
/* - THIS PACKAGE IS NOT RELEASED AS GPL/GNU SCRIPTING.     */
/* - Our Package name and link MUST REMAIN in the credit    */
/*   footer of all Nuke generated pages.                    */
/*   Translations are permitted, not renaming.              */
/* - This package CAN NOT be ported without written         */
/*   permission.                                            */
/* - This package CAN NOT be mirrored without written       */
/*   permission.                                            */
/* - Use of this package requires that credits to the       */
/*   original  PHPNuke remain in all site generated          */
/*   page footers.                                          */
/*                                                          */
/************************************************************/

/************************************************************/
/* Theme Colors Definition                                  */
/*                                                          */
/* Define colors for your web site. $bgcolor2 is generaly   */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the  */
/* other two bgcolor variables follows the same criteria.   */
/* $texcolor1 and 2 are for tables internal texts           */
/************************************************************/

$bgcolor1 = "#EAEAEA";
$bgcolor2 = "#EAEAEA";
$bgcolor3 = "#EAEAEA";
$bgcolor4 = "#EAEAEA";
$textcolor1 = "#000000";
$textcolor2 = "#000000";

include("themes/iCGstation/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  $admin, $user, $banners, $sitename, $slogan, $cookie, $prefix, $name, $db, $nukeurl, $anonymous;
    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 ($numrows>1) { 
   $numrows = $numrows-1; 
   mt_srand((double)microtime()*1000000); 
   $bannum = mt_rand(0, $numrows); 
    } else { 
   $bannum = 0; 
    } 
    $sql = "SELECT bid, imageurl, clickurl, alttext FROM ".$prefix."_banner WHERE type='0' AND active='1' LIMIT $bannum,1"; 
    $result = $db->sql_query($sql); 
    $row = $db->sql_fetchrow($result); 
    $bid = $row[bid]; 
    $imageurl = $row[imageurl]; 
    $clickurl = $row[clickurl]; 
    $alttext = $row[alttext]; 
    
    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>&nbsp;"; 
    }
}
        cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#FFFFFF\" text=\"#000000\">";
	
    if ($username == "Anonymous") {
	$theuser = "&nbsp;&nbsp;<a href=\"modules.php?name=Your_Account\">"._LOGIN."</a> or <a href=\"modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
    } else {
	$theuser = "&nbsp;&nbsp;"._BWEL." $username!";
    }
    
                	    $datetime = "<script type=\"text/javascript\">\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();\n"
	        ."if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem\n"
	        ."document.write(monthNames[now.getMonth()] + \" \" + now.getDate() + \", \" + thisYear);\n"
	        ."// -->\n\n"
	        ."</script>";
	        
            	$public_msg = public_message();
    $tmpl_file = "themes/iCGstation/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
    if ($name=='Forums') { 
/* Don't display it. */ 
} 
else { 
blocks(left); 
} 
    $tmpl_file = "themes/iCGstation/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, $foot4, $copyright, $totaltime, $footer_message;
    if ($index == 1) {
	$tmpl_file = "themes/iCGstation/center_right.html";
	$thefile = implode("", file($tmpl_file));
	$thefile = addslashes($thefile);
	$thefile = "\$r_file=\"".$thefile."\";";
	eval($thefile);
	print $r_file;
	blocks(right);
    }	

echo"				</td>"
  . "			</tr>"
  . "		</table>"
  . "		<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">"
  . "		  <tr> "
  . "			<td align=\"right\"><a href=\"#top\"><img src=\"themes/iCGstation/forums/images/top.gif\" border=\"0\" /></a></td>"
  . "		  </tr>"
  . "		</table>"
  . "		<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">"
  . "		  <tr> "
  . "			<td><a href=\"http://www.nukemods.com\" target=\"_blank\"><img src=\"themes/iCGstation/forums/images/bt_left.gif\" border=\"0\" /></a></td>"
  . "			<td width=\"100%\" class=\"indexbom\" align=\"center\">";
  
        $footer_message = footmsg();  
  
echo "			</td>"
  . "			<td><a href=\"http://www.ioptional.com\" target=\"_blank\"><img src=\"themes/iCGstation/forums/images/bt_right.gif\" border=\"0\" /></a></td>"
  . "		  </tr>"
  . "		</table>"
  . "	</td>"
  . "	<td width=\"10\" nowrap=\"nowrap\" class=\"righttd\"></td>"
  . "  </tr>"
  . "</table>"
 ."";

}

/************************************************************/
/* 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;
    if ($notes != "") {
	$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
	$notes = "";
    }
    if ("$aid" == "$informant") {
	$content = "$thetext$notes\n";
    } else {
	if($informant != "") {
	    $content = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$informant\">$informant</a> ";
	} else {
	    $content = "$anonymous ";
	}
	$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    $posted = ""._POSTEDBY." ";
    $posted .= get_author($aid);
    $posted .= " "._ON." $time $timezone ($counter "._READS.")";
    $tmpl_file = "themes/iCGstation/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;
    $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$notes\n";
    } else {
	if($informant != "") {
	    $content = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$informant\">$informant</a> ";
	} else {
	    $content = "$anonymous ";
	}
	$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    $tmpl_file = "themes/iCGstation/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/iCGstation/blocks.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

?>
__________________
İlerlediğiniz yolda hiç zorlukla karşılaşmıyorsanız, Bilinki o yol asla sizi doğruya ulaştırmaz...
YukseLL isimli Üye şuanda  online konumundadır  
Mesajı Digg'e ekleMesajı del.icio.us'a ekleMesajı Technorati'ye ekleMesajı FURL ekleSpurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
Alt 19-04-2006, 09:49 AM   #3
Yeni Uye
 
arkadas_ca - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Dec 2005
Yaş: 26
Mesajlar: 68
Cinsiyet:
Rep Gücü: 5 Rep: 231
arkadas_ca has a spectacular aura aboutarkadas_ca has a spectacular aura aboutarkadas_ca has a spectacular aura about
eline sağlık usta sen yaparsında olmaz mı

Çok güzel oldu
arkadas_ca isimli Üye şimdilik offline konumundadır  
Mesajı Digg'e ekleMesajı del.icio.us'a ekleMesajı Technorati'ye ekleMesajı FURL ekleSpurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
Alt 20-08-2006, 04:09 AM   #4
Yeni Kayıt
 
Üyelik tarihi: Apr 2006
Mesajlar: 1
Rep Gücü: 3 Rep: 10
CrAcKeD is on a distinguished road
Ce: Forumu Tam Sayfa Açtırma

usta nereyi değiştirioyoruz söylersen bizde kendi sitemizi uyarlıyalım seni yormayalım
CrAcKeD isimli Üye şimdilik offline konumundadır  
Mesajı Digg'e ekleMesajı del.icio.us'a ekleMesajı Technorati'ye ekleMesajı FURL ekleSpurl this Post!Reddit! Wong this Post!
Alıntı ile Cevapla
Cevapla

Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık


Benzer Konular
Konu Konuyu Başlatan Forum Cevap Son Mesaj
Bilgisayar Ders kitapları EMRE Kitap Tanıtımları, E-Box 13 25-02-2008 12:08 PM
İyi Bir web sitesi nasıl olur? EMRE Arama motoru optimizasyonu 1 12-09-2006 10:32 PM
forumu tam sayfa yapmak apollon php nuke 1 24-07-2006 11:07 AM
Güncel Driver Linkleri sidelord Donanım 1 12-07-2006 11:25 PM
Meta tag nedir? YukseLL Arama motoru optimizasyonu 0 26-02-2006 10:09 PM


Bütün Zaman Ayarları WEZ +3 olarak düzenlenmiştir. Şu Anki Saat: 11:23 PM .


Powered by vBulletin® Jelsoft Enterprises Ltd.

Supermeydan.net kar amacı gütmeyen bilgi, paylaşım üzerine kurulu ücretsiz bir forum sitesidir, üyeler her türlü bilgiyi,dosyayı önceden onay olmadan anında siteye yazabilmektedir, bu mesajlardan dolayı doğabilecek her türlü sorumluluk mesajı yazan üyeye aittir. Yine de sitemizde yasa dışı (illegal) içerik bulursanız supermeydan@gmail.com email adresine bildiriniz, şikayetiniz incelendikten sonra en kısa sürede gereken yapılacaktır, Teşekkürler!


Telif haklarını ihlal eden hertürlü materyal supermeydan.net de yayınlanamaz ve dağıtılamaz.Site içeriğini Kaynak göstermek şartıyla kullanmanız serbesttir.
Okur konuları ve yorumları kişilerin kendi görüşleridir.SuperMeydan.Net konu ve yorum içeriklerini benimsememektedir

Search Engine Friendly URLs by vBSEO