میوانی بهڕێز، بهخێرهاتی بۆ مهكۆكانی وێبچن، وهك میوان دهتوانی ههموو بابهتهكانی مهكۆكان بخوێنیتهوه و پێویست به خۆ تۆمار كردن ناكات، بۆ ئهوهی بتوانی بابهت و پرسیار بنووسیت پێویسته خۆت تۆمار بكهیت كه چهند ههنگاوێكی زۆر ئاسان و كورته بۆ جێبهجێ كردن
ســــــڵاو هاوڕێیان
ئهگهر ئهرك نیه پێم بڵێن چۆن بانهر ئهگۆڕێت بۆ فلاش ![]()
ئهتوانم بانهر بگۆرم بهس ناتوانم بیکهم بهفلاش ئایه له چ شوێنهکهوه بۆی بچم ؟
سوپاس بۆ هاوکاریتان
لێره نیه
تاقیم نهكردۆتهوه،
پهڕگهی theme.php بكهوه، له دێڕی ٣٩ دا ئهم كۆده بدۆزهوه،
echo "<td width='100%' height='82'>$header_content</td>";
بیگۆڕه به،
<embed width="600" height="100" src="nawi-file.swf">
دهبێ nawi-file.swf بگۆڕی بۆ ناوی بانهرهكهی خۆت، دهتوانی پانی و بهرزیش بگۆڕی.
لێره نیه
سڵاو !!!
کاک ئاسۆ منیش پێویستم به هه مان شته هه رچه نده گه ڕام نه مدۆزیه وه!!
ئه مه theme.php له کوێدا گۆڕانکاری بکه م؟؟
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "820";
$theme_width_l = "160";
$theme_width_r = "160";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<center><img src='".THEME."images/header.jpg'></center>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='29' background='".THEME."images/fbc.jpg' align='center' class='footer'>".stripslashes($settings['footer'])."
<a href='http://www.php-fusion.co.uk/' target='_blank'>PHP fusion</a> | <a href='http://www.wtfthemes.failai.lt/' target='_blank'>WTF Themes</a><br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/sbc.jpg' height='35' class='scapmain'> $title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>لێره نیه
لێره نیه
هه ڕۆكار / Theme ــێك بێت بیكهرهوه و پاشان پهڕگهی theme.php ــبكهرهوه و بگهڕێ بۆ ئهو دێره و بیگۆڕه بۆ ئهوی تر ... بزانه شتێكی وا ئهدۆزیتهوه ؟
لێره نیه
بیجگه له ئه م کوده هیچیتر له وشێوه یه نا بینیم
echo "<center><img src='".THEME."images/header.jpg'></center>"; echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
![]()
![]()
لێره نیه
ئهمه بسڕهوه و ئهوهی سهرهوهی له شوێن دابنێ،
echo "<center><img src='".THEME."images/header.jpg'></center>";
لێره نیه
echo "<center><img src='".THEME."images/header.jpg'></center>";
بگۆڕه به
echo "<embed width="600" height="100" src="nawi-file.swf">";
لێره نیه
کاک ئاسۆ گیان باوه ڕ ده که یت نا بێت زۆرم پێسه یره!
سێری کوده کانیش بکه
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "820";
$theme_width_l = "160";
$theme_width_r = "160";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<embed width="600" height="100" src="images/header.swf">";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='29' background='".THEME."images/fbc.jpg' align='center' class='footer'>".stripslashes($settings['footer'])."
<a href='http://www.php-fusion.co.uk/' target='_blank'>PHP fusion</a> | <a href='http://www.wtfthemes.failai.lt/' target='_blank'>WTF Themes</a><br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/sbc.jpg' height='35' class='scapmain'> $title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>لێره نیه
كاتم پێ بده با خۆم تاقی بكهمهوه.
لێره نیه
پاش ئهوهی كه سهیرم كرد ڕوون بووهوه كه شته لهوێ دا نیه ![]()
پهڕگهی subheader.php بكهنهوه،
ئهم دێڕه
render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");بگۆڕن به،
render_header("<embed src='flash.swf' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");لێره نیه
مامه لێو ژه یی و مامه ئاسۆ گیان به داخه وه هه موو کاره کانم ئه جام دا هــه ر نه بـوو!
نازانم کێشه له کوێده یه!
کوده کا نی subheader.php :
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
require_once THEME."theme.php";
if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php");
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<title>".$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='".$settings['description']."'>
<meta name='keywords' content='".$settings['keywords']."'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
</head>
<body bgcolor='$body_bg' text='$body_text'>\n";
render_header("<embed src='themes/AnimeDream/images/header.swf' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");
?>کوده کانی theme.php :
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "820";
$theme_width_l = "160";
$theme_width_r = "160";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<embed width="820" height="290" src="images/header.swf">";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='29' background='".THEME."images/fbc.jpg' align='center' class='footer'>".stripslashes($settings['footer'])."
<a href='http://www.php-fusion.co.uk/' target='_blank'>PHP fusion</a> | <a href='http://www.wtfthemes.failai.lt/' target='_blank'>WTF Themes</a><br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/sbc.jpg' height='35' class='scapmain'> $title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>به داخه وه یاالله و یا علی نه بوو![]()
![]()
لێره نیه
كۆدهكانی theme.php دهبێ وهكوو خۆی لێ بكهیتهوه، واته بیگهڕێنیتهوه پێش دهستكاری كردن.
لێره نیه
تكایه ئادرهسی پهڕهكهت بنووسه.
لێره نیه
لێره نیه
بهدڵنیایهوه له شوێنێكدا ههڵهیهكت كردووه، بۆ ئهوهی دڵنیا بیت، دهبێ ڕووكارێك بهكار ببهی كه هیچ دهستكاریت نهكردبێت، تهنیا گۆڕانكاریهك كه پێویسته جێبهجێ كرابێت دهبێ لهو نێو پهڕهی subheader.php بێت،
ئهمهش نمووكهی لای من،
http://medlem.spray.se/testphp/php-fusion/news.php
لێره نیه
سڵاو کاک ئاسۆ 2 باره سه رت دێشێنم
ئه گه ر له بیرت بێت ئێمه له کۆتایدا توانیمان بانه ره که مان بکه ی به فلاش
به ڵام ئێستا من به شێکم ئامه ده کردوه بۆ ده فته ری میوان به ڵام بانه ره که پیشان نادات وه له هه ندێک به شی کۆنتڕۆڵ پانێلیش پیشانی نادات
به هه ر حاڵ ئه وه ی ده فته ری میوان گرنگه!
لێره نیه