میوانی بهڕێز، بهخێرهاتی بۆ مهكۆكانی وێبچن، وهك میوان دهتوانی ههموو بابهتهكانی مهكۆكان بخوێنیتهوه و پێویست به خۆ تۆمار كردن ناكات، بۆ ئهوهی بتوانی بابهت و پرسیار بنووسیت پێویسته خۆت تۆمار بكهیت كه چهند ههنگاوێكی زۆر ئاسان و كورته بۆ جێبهجێ كردن
پهڕهكان: 1 2

سڵاو هاورێیان
کۆدێکم پیویسته بۆ دانانی دوایتی 10بابهتی یانه له ماڵپهڕ به شێوهیهکی وهستاو له یانه له یهکێک له لایهکان دایبنێم
که بهشیوهیهکی وهستاو لهسهر یهک بابهتهکان دهربکهون وه لهگهڵ ناردنی ههر بابتێک له یانه بێتهوه سهرهوه واتا
10بابهتهکه لهسهر یهک بن تهنها سهردێڕهکانیان وه که کلیکیان لهسهر کرد بچێته ناو بابهتهکه له یانه
تێبینی :
ماڵپهڕهکهم به Html دروست کراوه
هیوادارم پرسیارهکهم روون بێت
لهگهڵ ریزم
لێره نیه
gailan نووسی:
ماڵپهڕهکهم به Html دروست کراوه
ههتائێستاشتی وام بهدی نهکردوه بۆئهومهبهسته!
دواترین جار دهستكاری كراوه لهلایهن zerak_gsm (2008-11-17 13:50:55)
لێره نیه
ههتائێستاشتی وام بهدی نهکردوه بۆئهومهبهسته!
سوپاس بۆتۆ
چاوهڕێی کاکه ئاسۆ و وانم بزانم دهکرێت
لێره نیه
دهكرێت ئهگهر پاشگری پهڕهكه له html. ـهوه بكهیت به php.
لێره نیه
مامه ئاسۆ ئێستا ئی من وایه..
www.kurdchin.com/index.php
چۆن دهکرێت؟
لێره نیه
وڵام نهبوو؟
مامه ئاسۆ زۆر پێویستم پێیه..
لێره نیه
هاوڕێیان 3رۆژه ئهم پرسیارهم کردوه!!
پیویستم به وڵامه..
لێره نیه
سڵاو کاکە گەیلان گیان ..
براکەم چۆنی ؟ برا گیان من ڕاستی زانیاریم نیە لەسەر ئەمە بەڵام پێم باشە پرسیار لەم ماڵپەڕە بکەیت.
http://www.najhsoft.net/index.html
ئەمە بەم شێوەیە دانراوە کە تۆ دەتهەوێت ..
بەڵآم لێرەدا وەک کاک ئاسۆ باسی کردوە نیە پەرە یەکەم HTML ەو بەڵام زۆۆر شتی تیایە.
کاکە زیرەک گیان هەیە کە html بێت و ئەم شتانەشی هەبێت بەلاتەوە سەیر نەبێت...
سەرکەوتو بن.
دواترین جار دهستكاری كراوه لهلایهن Helloy_kurd (2008-11-19 21:37:36)
لێره نیه
سوپاس گوڵهکهم
نازنم کاکه ئاسۆ بهمنی وت ئهکرێت
کهچی بێدهنگ بووه![]()
لێره نیه
له پێشدا دهبێ extern.php ـهكی ئهسڵیت ههبێت بهبێ دهستكاری كردن.
دواتر ناوهكهی بگۆڕه بۆ extern1.php
ئهم كۆده له نێو پهڕهی index.php دابنێ كه دهتهوێ دهربكهون،
<? php include("meko/extern.php?action=active"); ?>لێره نیه
ئێستا تاقی دهکهمهوه بزانم چی لیدێت![]()
لێره نیه
سڵاو کاکه ئاسۆ ئهمهمه جێبهجێ کرد
له پێشدا دهبێ extern.php ـهكی ئهسڵیت ههبێت بهبێ دهستكاری كردن.
دواتر ناوهكهی بگۆڕه بۆ extern1.php
بهس له ماڵپهڕ لهو سوێنهی کهدهمهوێت تێی دا دهربکهوێت کۆدهکه دادهنێم ریک ئیرۆر ئهدات
ئهمهش index ماڵپهرهکهمه
<?php
include 'admin/head.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0018)http://kurdchin.com/ -->
<HTML dir=rtl xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office"><HEAD>
<meta http-equiv="Content-Language" content="ar-iq">
<TITLE>:::ماڵپهڕی کوردچین:::</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE>BODY {
BACKGROUND-POSITION: center 50%; BACKGROUND-IMAGE: url(http://kurdchin.com/bg.gif); BACKGROUND-REPEAT: repeat-y
}
.banner {
BACKGROUND-IMAGE: url(http://kurdchin.com/banner.png); BACKGROUND-REPEAT: no-repeat
}
.style1 {
TEXT-ALIGN: center
}
.style2 {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px
}
BODY {
FONT-FAMILY: arial,sans-serif
}
.fs {
BORDER-LEFT: 9px solid
}
.sd .fs {
BORDER-LEFT-COLOR: #c3d9ff
}
.msg {
}
.cbln {
BACKGROUND-POSITION: left 50%; BACKGROUND-IMAGE: url(https://mail.google.com/mail/images/card_left_new.gif); BACKGROUND-REPEAT: repeat-y
}
.cbln {
PADDING-RIGHT: 1px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.mb {
PADDING-RIGHT: 8px; PADDING-LEFT: 14px; FONT-SIZE: 80%; PADDING-BOTTOM: 10px; WIDTH: 100%; PADDING-TOP: 6px
}
.page {
BACKGROUND: #ffffff; FONT: bold 10pt "Unikurd Web", Tahoma, Arial, Verdana; COLOR: #000000
}
.tborder {
BORDER-RIGHT: #000000 0px solid; BORDER-TOP: #000000 0px solid; BACKGROUND: #000000; FONT: 10pt "Unikurd Web", Tahoma, Arial, Verdana; BORDER-LEFT: #000000 0px solid; COLOR: #aab5be; BORDER-BOTTOM: #000000 0px solid
}
.alt1 {
BACKGROUND: #f0f0f0; FONT: bold 10pt "Unikurd Web", Tahoma, Arial, Verdana; COLOR: #000000
}
.smallfont
{
font: 13pt arial,tahoma,verdana,helvetica;
}
</STYLE>
<LINK href="style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY style="TEXT-ALIGN: center; background-attachment:fixed" bottomMargin=0 topMargin=0 vlink="#FF00FF" alink="#FF00FF">
<DIV align=center>
<TABLE id=table1889 style="BORDER-COLLAPSE: collapse" width=854 border=1 bgcolor="#FFFFFF" bordercolor="#FF00FF">
<TR>
<TD class=reklam_serewe height=177 bgcolor="#FFFFFF" width="846" align="center" bordercolor="#FF0000">
<table border="1" width="100%" id="table1894">
<tr>
<td>
<p align="center">
<img border="0" src="yane/img/banner1.jpg" width="841" height="118"></td>
</tr>
</table>
<table border="1" width="97%" id="table1890" height="55">
<tr>
<td bordercolor="#FF00FF">
<table width="100%" border="1" bordercolorlight="#D9E3FB" bordercolordark="#C3D9FF" id="table1891">
<tr>
<td bordercolor="#FF00FF" colspan="5" bgcolor="#0000FF">
<p align="center">
<marquee style="color: #FFFF00; font-weight: bold" direction="right">بهخێربێین بۆ ماڵپهڕی کوردچین هیوادارین که سوود بهئێوهیه خۆشهوییست بگهیهنینن لهههمووبوارهکاندا وه ههوڵیش ئهدهین که نوێترین بابتهکانی رۆژانهتان بۆ بڵاو بکهینهوه</marquee></td>
</tr>
<tr>
<td width="147" bordercolor="#FF00FF">
<p align="center" dir="ltr">
<a href="http://www.kurdchin.com">
<img border="0" src="sarata.jpg" width="165" height="25"></a></td>
<td width="212" bordercolor="#FF00FF">
<p align="center" dir="ltr">
<a href="http://www.kurdchin.com/yane">
<img border="0" src="yaneikurdchin.jpg" width="165" height="25"></a></td>
<td width="169" bordercolor="#FF00FF">
<p align="center">
<img border="0" src="yasikurdchin.jpg" width="165" height="25"></td>
<td bordercolor="#FF00FF">
<p align="center">
<a href="http://www.kurdchin.com/reklamm.html">
<img border="0" src="reklam.jpg" width="165" height="25"></a></td>
<td bordercolor="#FF00FF">
<p align="center">
<a href="http://www.kurdchin.com/piwandy.html">
<img border="0" src="piwandi.jpg" width="165" height="25"></a></td>
</tr>
<tr>
<td width="147" bordercolor="#FF00FF">
<p align="center">
<img border="0" src="computer.jpg" width="165" height="25"></td>
<td width="212" bordercolor="#FF00FF">
<p align="center">
<img border="0" src="internet.jpg" width="165" height="25"></td>
<td width="169" bordercolor="#FF00FF">
<p align="center">
<img border="0" src="wanishikrdnawa.jpg" width="165" height="25"></td>
<td bordercolor="#FF00FF">
<p align="center">
<img border="0" src="sait.jpg" width="165" height="25"></td>
<td bordercolor="#FF00FF">
<p align="center">
<img border="0" src="nasandnibaster.jpg" width="165" height="25"></td>
</tr>
<tr>
<td bordercolor="#F8BB49" colspan="5" bgcolor="#0000FF">
<p align="center">
<font color="#FFFFFF">
<marquee direction="right" style="font-weight: bold">میوانی خۆشهویست تۆش گهر ماڵپهڕ یان کۆمپانیان یان ههرشتێکت ههیه ئهتوانی لێره کانه ڕیکلامی بۆ بکهی بهنرخێکی زۆر ههرزان</marquee></font></td>
</tr>
</table>
</td>
</tr>
</table>
<TABLE style="WIDTH: 99%" height="185" id="table1892" bgcolor="#FFFFFF">
<TBODY>
<TR>
<TD class=weney_reklam width="16%" bordercolor="#FF00FF">
<a href="http://www.kurdchin.com/yane">
<img border="0" src="yane1.gif" width="132" height="75" style="width: 135px; height: 76px"></a></TD>
<TD class=weney_reklam width="16%" bordercolor="#FF00FF">
<a href="http://www.gsoftit.com">
<img border="0" src="reklam/logoi-gsoftit.gif" width="150" height="60" style="width: 135px; height: 76px"></a></TD>
<TD class=weney_reklam width="17%" bordercolor="#FF00FF">
<P align=center><a href="http://www.kurdchin.com/chat.html">
<img border="0" src="chat.gif" width="132" height="75" style="width: 135px; height: 76px"></a></P></TD>
<TD class=weney_reklam width="16%" bordercolor="#FF00FF">
<P align=center><a href="http://www.kurdchin.com/index.html">
<img border="0" src="logo.gif" width="200" height="110" style="width: 135px; height: 76px"></a></P></TD>
<TD class=weney_reklam colSpan=2 bordercolor="#FF00FF">
<table border="1" width="100%" id="table1893" height="78">
<tr>
<td width="134" bordercolor="#FF00FF">
<a href="http://www.zanstge.org">
<img border="0" src="reklam/Zanstge%20Logos.gif" style="width: 134px; height: 76px"></a></td>
<td bordercolor="#FF00FF">
<a href="http://www.jwtyar.tk">
<img border="0" src="logojwtyer.jpg" style="width: 139px; height: 76px"></a></td>
</tr>
</table>
</TD></TR>
<TR>
<TD class=weney_reklam width="16%">
<a href="http://www.kurdchin.com/reklamm.html">
<img border="0" src="reklam/reklam.gif" style="width: 136px; height: 76px"></a></TD>
<TD class=weney_reklam width="16%">
<a href="http://www.kurdchin.com/up">
<img border="0" src="upload.gif" width="132" height="75" style="width: 135px; height: 76px"></a></TD>
<TD class=weney_reklam width="17%">
<a href="http://www.kurd-star.com/vb">
<img border="0" src="reklam/kurdstar.gif" width="150" height="60" style="width: 135px; height: 76px"></a></TD>
<TD class=weney_reklam width="16%" bordercolor="#FF00FF">
<img border="0" src="../../zhwan.gif" width="300" height="150" style="width: 135px; height: 76px"></TD>
<TD class=weney_reklam width="16%">
<a href="http://ku.kurdland.com/top25.asp?id=4944">
<img border="0" src="http://www.kurdchin.com/dang.gif" width="160" height="126" style="width: 135px; height: 76px"></a></TD>
<TD class=weney_reklam width="17%">
<a href="http://www.ashty2.net">
<img border="0" src="http://www.kurdchin.com/ashty2.gif" style="width: 142px; height: 76px"></a></TD></TR>
<TR>
<TD class=weney_reklam width="99%" bordercolor="#FF00FF" bgcolor="#FF00FF" colspan="6">
<p align="center"> <html>
<head>
<link rel="stylesheet" type="text/css" href="http://www.kurdchin/yane/style/phpbbkurdish.css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-utf-8">
</head>
<body bgcolor="#E6E6E6">
</body>
</html></TD>
</TR>
<TR>
<TD class=weney_reklam width="16%" bordercolor="#FF00FF" bgcolor="#000000">
<p align="center">
<img border="0" src="babetjmari/1.gif" style="width: 135px; height: 27px"></TD>
<TD class=weney_reklam width="66%" colspan="4" bordercolor="#FF00FF" bgcolor="#000000">
<p align="center">
<a href="http://kurditgroup.org/download/1334/UniFonts.exe">
<img border="0" src="font.gif" style="width: 545px; height: 29px" align="left"></a></TD>
<TD class=weney_reklam width="17%" bordercolor="#FF00FF" bgcolor="#000000">
<P align=center>
<img border="0" src="babetjmari/2.gif" style="width: 143px; height: 31px"></P></TD></TR>
</TBODY></TABLE></TD></TR>
</TABLE>
<TABLE id=table1 style="BORDER-COLLAPSE: collapse" width=860 border=0>
<TBODY class=style1>
<TR>
<TD class=xaney_rast height="400" width="185" bordercolor="#FF00FF">
<TABLE style="WIDTH: 95%" height="22">
<TBODY>
<tr>
<TD class=serderri_besh style="border-color: #FF0000; " height="22">
<?php
$template="lift";
$category="2";
$number="15";
include $cutepath.'/show_news.php';
?>
</TD>
</tr>
</TBODY></TABLE>
</TD>
<TD class=nawerrast width="530" height="394">
<TABLE style="WIDTH: 101%">
<TBODY>
<TR>
<TD bordercolor="#FF0000">
<marquee style="color: #FF00FF; font-weight: bold" direction="right" height="19">میوانی خۆشهویست گهر ماڵپهڕت ههیهو تازه دروستت کردوه ئهتهوێت قهڵهباڵخی بکهی ئهوا ئێمه ئامادهین ڕیکلام ت بۆ بکهین به نرخێکی ههرزان 1مانگ به 10دۆلار ،بۆ ڕیکلام کردن ئهتوانن پهیوهندی بهم ژماره موبایلهوهبکهن 07703522931 یان 07504785124</marquee></TD></TR>
<TR>
<TD>
<table border="1" width="100%">
<tr>
<td>
<a href="http://ku.kurdland.com/top25.asp?id=4944">
<img border="0" src="dangbda.gif" width="508" height="45"></a></td>
</tr>
<tr>
<td>
<a href="http://www.kurdchin.com/yane">
<img border="0" src="yane.gif" width="508" height="48"></a></td>
</tr>
<tr>
<td height="30">
<p align="center">
<img border="0" src="babete_niwekan.gif" width="496" height="24" align="left"></td>
</tr>
</table>
</TD></TR>
<body id="CBody"
onbeforeprint="onbeforeprint()" onafterprint="onafterprint()"
onselectstart="return false" oncontextmenu="return false;" vlink="#FF00FF" alink="#FF00FF">
<tr>
<TD height="20" bgcolor="#EDF2F9">
<?php
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
www.web4kurd.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
{
$template= kurdchin;
$category= 1;
$number = 15;
include $cutepath.'/show_news.php';
}
?>
</TD>
</tr>
<tr>
<TD height="20" bgcolor="#EDF2F9">
<p align="center">
<img border="0" src="hewallekan_le_mediya.gif" width="508" height="20"></TD>
</tr>
<tr>
<TD height="20" bgcolor="#EDF2F9">
<TABLE style="WIDTH: 100%" id="table1896">
<TBODY>
<TR>
<TD class=media style="HEIGHT: 31px" bgcolor="#FFFFFF" bordercolor="#FF0000">
<img border="0" src="midyakan/aso.jpg" width="100" height="28"></TD>
<TD class=media style="HEIGHT: 31px" bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.awene.com/">
<img border="0" src="midyakan/awene.jpg" width="100" height="47"></a></TD>
<TD class=media style="HEIGHT: 31px" bgcolor="#FFFFFF" bordercolor="#FF0000">
<img border="0" src="midyakan/cemawer.jpg" width="100" height="28"></TD>
<TD class=media style="HEIGHT: 31px" bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.gdarband.com/sereta.php">
<img border="0" src="midyakan/gencan-logo.jpg" width="100" height="48"></a></TD>
<TD class=media width="103" bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.hawlati.com/">
<img border="0" src="midyakan/hawlati.jpg" width="100" height="28"></a></TD></TR>
<TR>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.hewalnews.net/">
<img border="0" src="midyakan/hewal-net.jpg" width="100" height="38"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.kurdistanonline.net/">
<img border="0" src="midyakan/k_online.jpg" width="100" height="50"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.klawrojna.com/">
<img border="0" src="midyakan/klawrojne.jpg" width="100" height="28"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.knwe.org/">
<img border="0" src="midyakan/kurdistaninwe.jpg" width="100" height="28"></a></TD>
<TD class=media width="103" bgcolor="#FFFFFF" bordercolor="#FF0000">
<img border="0" src="midyakan/kurdistanraport.jpg" width="100" height="25"></TD></TR>
<TR>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.knewsdaily.org/Malper.aspx">
<img border="0" src="midyakan/kurdnews-logo.jpg" width="100" height="24"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.yndk.com/">
<img border="0" src="midyakan/midya.jpg" width="100" height="35"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://nawxo.org/ku/index.php">
<img border="0" src="midyakan/nna-logo.jpg" width="100" height="25"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.pertwk.com/pertwk/">
<img border="0" src="midyakan/pertuk_log.jpg" width="100" height="33"></a></TD>
<TD class=media width="103" bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.peyamner.com/">
<img border="0" src="midyakan/peyamner.jpg" width="100" height="28"></a></TD></TR>
<TR>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.pukmedia.com/kurdish/">
<img border="0" src="midyakan/pukmedia-kurdistan.gif" width="334" height="140"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.runaki.net/sereta.aspx">
<img border="0" src="midyakan/runaki-log.jpg" width="100" height="55"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.sbeiy.com/ku/default.aspx">
<img border="0" src="midyakan/Sbei-logoWHITE.jpg" width="100" height="40"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.xebat.net/index.php">
<img border="0" src="midyakan/xebat.jpg" width="100" height="28"></a></TD>
<TD class=media width="103" bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://kurdistannet.info/">
<img border="0" src="midyakan/a-kn.jpg" width="212" height="109"></a></TD></TR></TBODY></TABLE></TD>
</tr>
</TBODY></TABLE></TD>
<TD class=xaney_chep width=168 height="394">
<TABLE style="WIDTH: 92%">
<TBODY>
<TR>
<TD class=beshekan style="border-color: #FF0000; ">
<?php
$template="lift";
$category="3";
$number="15";
include $cutepath.'/show_news.php';
?>
<span lang="en-us"></span></TD></TR>
</TBODY></TABLE></TD></TR>
<TR>
<TD class=footer colSpan=3 height="4007" bordercolor="#FF0000">
<table border="1" width="100%" id="table1895" height="71">
<tr>
<td bgcolor="#FF0000"> <!-- Histats.com START -->
<a href="http://www.histats.com" target="_blank" title="web counter free" ><script type="text/javascript" language="javascript">
var s_sid = 485708;var st_dominio = 4;
var cimg = 334;var cwi =112;var che =62;
</script></a>
<script type="text/javascript" language="javascript" src="http://s10.histats.com/js9.js"></script>
<noscript><a href="http://www.histats.com" target="_blank">
<img src="http://s4.histats.com/stats/0.gif?485708&1" alt="web counter free" border="0"></a>
</noscript>
<!-- Histats.com END --><br><script src="http://fastwebcounter.com/secure.php?s=www.zerak.net"></script>
<!-- End FastWebCounter.com --></td>
<td width="321" bgcolor="#FF0000">
<img border="0" src="xwarewa2.jpg" width="335" height="116"></td>
<td width="330" bgcolor="#FF0000">
<img border="0" src="xware1.jpg" width="343" height="116"></td>
</tr>
</table>
</TD></TR></TBODY></TABLE></DIV></BODY></HTML>دهمهوێت له بن ڕیکلامهکان دهربکهوێت
لێره نیه
كۆدهكهت له كوێ داناوه و ههڵهكه چیه؟
لێره نیه
ئهمه ههڵکهیه
Parse error: syntax error, unexpected T_INCLUDE in /home/kurdchin/public_html/index.php on line 273
وه بهم شێوهش دای دهنیم
<?php
include 'admin/head.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0018)http://kurdchin.com/ -->
<HTML dir=rtl xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office"><HEAD>
<meta http-equiv="Content-Language" content="ar-iq">
<TITLE>:::ماڵپهڕی کوردچین:::</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE>BODY {
BACKGROUND-POSITION: center 50%; BACKGROUND-IMAGE: url(http://kurdchin.com/bg.gif); BACKGROUND-REPEAT: repeat-y
}
.banner {
BACKGROUND-IMAGE: url(http://kurdchin.com/banner.png); BACKGROUND-REPEAT: no-repeat
}
.style1 {
TEXT-ALIGN: center
}
.style2 {
BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px
}
BODY {
FONT-FAMILY: arial,sans-serif
}
.fs {
BORDER-LEFT: 9px solid
}
.sd .fs {
BORDER-LEFT-COLOR: #c3d9ff
}
.msg {
}
.cbln {
BACKGROUND-POSITION: left 50%; BACKGROUND-IMAGE: url(https://mail.google.com/mail/images/card_left_new.gif); BACKGROUND-REPEAT: repeat-y
}
.cbln {
PADDING-RIGHT: 1px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.mb {
PADDING-RIGHT: 8px; PADDING-LEFT: 14px; FONT-SIZE: 80%; PADDING-BOTTOM: 10px; WIDTH: 100%; PADDING-TOP: 6px
}
.page {
BACKGROUND: #ffffff; FONT: bold 10pt "Unikurd Web", Tahoma, Arial, Verdana; COLOR: #000000
}
.tborder {
BORDER-RIGHT: #000000 0px solid; BORDER-TOP: #000000 0px solid; BACKGROUND: #000000; FONT: 10pt "Unikurd Web", Tahoma, Arial, Verdana; BORDER-LEFT: #000000 0px solid; COLOR: #aab5be; BORDER-BOTTOM: #000000 0px solid
}
.alt1 {
BACKGROUND: #f0f0f0; FONT: bold 10pt "Unikurd Web", Tahoma, Arial, Verdana; COLOR: #000000
}
.smallfont
{
font: 13pt arial,tahoma,verdana,helvetica;
}
</STYLE>
<LINK href="style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY style="TEXT-ALIGN: center; background-attachment:fixed" bottomMargin=0 topMargin=0 vlink="#FF00FF" alink="#FF00FF">
<DIV align=center>
<TABLE id=table1889 style="BORDER-COLLAPSE: collapse" width=854 border=1 bgcolor="#FFFFFF" bordercolor="#FF00FF">
<TR>
<TD class=reklam_serewe height=177 bgcolor="#FFFFFF" width="846" align="center" bordercolor="#FF0000">
<table border="1" width="100%" id="table1894">
<tr>
<td>
<p align="center">
<img border="0" src="yane/img/banner1.jpg" width="841" height="118"></td>
</tr>
</table>
<table border="1" width="97%" id="table1890" height="55">
<tr>
<td bordercolor="#FF00FF">
<table width="100%" border="1" bordercolorlight="#D9E3FB" bordercolordark="#C3D9FF" id="table1891">
<tr>
<td bordercolor="#FF00FF" colspan="5" bgcolor="#0000FF">
<p align="center">
<marquee style="color: #FFFF00; font-weight: bold" direction="right">بهخێربێین بۆ ماڵپهڕی کوردچین هیوادارین که سوود بهئێوهیه خۆشهوییست بگهیهنینن لهههمووبوارهکاندا وه ههوڵیش ئهدهین که نوێترین بابتهکانی رۆژانهتان بۆ بڵاو بکهینهوه</marquee></td>
</tr>
<tr>
<td width="147" bordercolor="#FF00FF">
<p align="center" dir="ltr">
<a href="http://www.kurdchin.com">
<img border="0" src="sarata.jpg" width="165" height="25"></a></td>
<td width="212" bordercolor="#FF00FF">
<p align="center" dir="ltr">
<a href="http://www.kurdchin.com/yane">
<img border="0" src="yaneikurdchin.jpg" width="165" height="25"></a></td>
<td width="169" bordercolor="#FF00FF">
<p align="center">
<img border="0" src="yasikurdchin.jpg" width="165" height="25"></td>
<td bordercolor="#FF00FF">
<p align="center">
<a href="http://www.kurdchin.com/reklamm.html">
<img border="0" src="reklam.jpg" width="165" height="25"></a></td>
<td bordercolor="#FF00FF">
<p align="center">
<a href="http://www.kurdchin.com/piwandy.html">
<img border="0" src="piwandi.jpg" width="165" height="25"></a></td>
</tr>
<tr>
<td width="147" bordercolor="#FF00FF">
<p align="center">
<img border="0" src="computer.jpg" width="165" height="25"></td>
<td width="212" bordercolor="#FF00FF">
<p align="center">
<img border="0" src="internet.jpg" width="165" height="25"></td>
<td width="169" bordercolor="#FF00FF">
<p align="center">
<img border="0" src="wanishikrdnawa.jpg" width="165" height="25"></td>
<td bordercolor="#FF00FF">
<p align="center">
<img border="0" src="sait.jpg" width="165" height="25"></td>
<td bordercolor="#FF00FF">
<p align="center">
<img border="0" src="nasandnibaster.jpg" width="165" height="25"></td>
</tr>
<tr>
<td bordercolor="#F8BB49" colspan="5" bgcolor="#0000FF">
<p align="center">
<font color="#FFFFFF">
<marquee direction="right" style="font-weight: bold">میوانی خۆشهویست تۆش گهر ماڵپهڕ یان کۆمپانیان یان ههرشتێکت ههیه ئهتوانی لێره کانه ڕیکلامی بۆ بکهی بهنرخێکی زۆر ههرزان</marquee></font></td>
</tr>
</table>
</td>
</tr>
</table>
<TABLE style="WIDTH: 99%" height="185" id="table1892" bgcolor="#FFFFFF">
<TBODY>
<TR>
<TD class=weney_reklam width="16%" bordercolor="#FF00FF">
<a href="http://www.kurdchin.com/yane">
<img border="0" src="yane1.gif" width="132" height="75" style="width: 135px; height: 76px"></a></TD>
<TD class=weney_reklam width="16%" bordercolor="#FF00FF">
<a href="http://www.gsoftit.com">
<img border="0" src="reklam/logoi-gsoftit.gif" width="150" height="60" style="width: 135px; height: 76px"></a></TD>
<TD class=weney_reklam width="17%" bordercolor="#FF00FF">
<P align=center><a href="http://www.kurdchin.com/chat.html">
<img border="0" src="chat.gif" width="132" height="75" style="width: 135px; height: 76px"></a></P></TD>
<TD class=weney_reklam width="16%" bordercolor="#FF00FF">
<P align=center><a href="http://www.kurdchin.com/index.html">
<img border="0" src="logo.gif" width="200" height="110" style="width: 135px; height: 76px"></a></P></TD>
<TD class=weney_reklam colSpan=2 bordercolor="#FF00FF">
<table border="1" width="100%" id="table1893" height="78">
<tr>
<td width="134" bordercolor="#FF00FF">
<a href="http://www.zanstge.org">
<img border="0" src="reklam/Zanstge%20Logos.gif" style="width: 134px; height: 76px"></a></td>
<td bordercolor="#FF00FF">
<a href="http://www.jwtyar.tk">
<img border="0" src="logojwtyer.jpg" style="width: 139px; height: 76px"></a></td>
</tr>
</table>
</TD></TR>
<TR>
<TD class=weney_reklam width="16%">
<a href="http://www.kurdchin.com/reklamm.html">
<img border="0" src="reklam/reklam.gif" style="width: 136px; height: 76px"></a></TD>
<TD class=weney_reklam width="16%">
<a href="http://www.kurdchin.com/up">
<img border="0" src="upload.gif" width="132" height="75" style="width: 135px; height: 76px"></a></TD>
<TD class=weney_reklam width="17%">
<a href="http://www.kurd-star.com/vb">
<img border="0" src="reklam/kurdstar.gif" width="150" height="60" style="width: 135px; height: 76px"></a></TD>
<TD class=weney_reklam width="16%" bordercolor="#FF00FF">
<img border="0" src="../../zhwan.gif" width="300" height="150" style="width: 135px; height: 76px"></TD>
<TD class=weney_reklam width="16%">
<a href="http://ku.kurdland.com/top25.asp?id=4944">
<img border="0" src="http://www.kurdchin.com/dang.gif" width="160" height="126" style="width: 135px; height: 76px"></a></TD>
<TD class=weney_reklam width="17%">
<a href="http://www.ashty2.net">
<img border="0" src="http://www.kurdchin.com/ashty2.gif" style="width: 142px; height: 76px"></a></TD></TR>
<TR>
<TD class=weney_reklam width="99%" bordercolor="#FF00FF" bgcolor="#FF00FF" colspan="6">
<p align="center"> <html>
<head>
<link rel="stylesheet" type="text/css" href="http://www.kurdchin/yane/style/phpbbkurdish.css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-utf-8">
</head>
<body bgcolor="#E6E6E6">
</body>
</html></TD>
</TR>
<TR>
<TD class=weney_reklam width="16%" bordercolor="#FF00FF" bgcolor="#000000">
<p align="center">
<img border="0" src="babetjmari/1.gif" style="width: 135px; height: 27px"></TD>
<TD class=weney_reklam width="66%" colspan="4" bordercolor="#FF00FF" bgcolor="#000000">
<p align="center">
<a href="http://kurditgroup.org/download/1334/UniFonts.exe">
<img border="0" src="font.gif" style="width: 545px; height: 29px" align="left"></a></TD>
<TD class=weney_reklam width="17%" bordercolor="#FF00FF" bgcolor="#000000">
<P align=center>
<img border="0" src="babetjmari/2.gif" style="width: 143px; height: 31px"></P></TD></TR>
</TBODY></TABLE></TD></TR>
</TABLE>
<TABLE id=table1 style="BORDER-COLLAPSE: collapse" width=860 border=0>
<TBODY class=style1>
<TR>
<TD class=xaney_rast height="400" width="185" bordercolor="#FF00FF">
<TABLE style="WIDTH: 95%" height="22">
<TBODY>
<tr>
<TD class=serderri_besh style="border-color: #FF0000; " height="22">
<?php
$template="lift";
$category="2";
$number="15";
include $cutepath.'/show_news.php';
?>
</TD>
</tr>
</TBODY></TABLE>
</TD>
<TD class=nawerrast width="530" height="394">
<TABLE style="WIDTH: 101%">
<TBODY>
<TR>
<TD bordercolor="#FF0000">
<marquee style="color: #FF00FF; font-weight: bold" direction="right" height="19">میوانی خۆشهویست گهر ماڵپهڕت ههیهو تازه دروستت کردوه ئهتهوێت قهڵهباڵخی بکهی ئهوا ئێمه ئامادهین ڕیکلام ت بۆ بکهین به نرخێکی ههرزان 1مانگ به 10دۆلار ،بۆ ڕیکلام کردن ئهتوانن پهیوهندی بهم ژماره موبایلهوهبکهن 07703522931 یان 07504785124</marquee></TD></TR>
<TR>
<TD>
<? php include("yane/extern.php?action=active"); ?>
<TR>
<TD>
<table border="1" width="100%">
<tr>
<td>
<a href="http://ku.kurdland.com/top25.asp?id=4944">
<img border="0" src="dangbda.gif" width="508" height="45"></a></td>
</tr>
<tr>
<td>
<a href="http://www.kurdchin.com/yane">
<img border="0" src="yane.gif" width="508" height="48"></a></td>
</tr>
<tr>
<td height="30">
<p align="center">
<img border="0" src="babete_niwekan.gif" width="496" height="24" align="left"></td>
</tr>
</table>
</TD></TR>
<body id="CBody"
onbeforeprint="onbeforeprint()" onafterprint="onafterprint()"
onselectstart="return false" oncontextmenu="return false;" vlink="#FF00FF" alink="#FF00FF">
<tr>
<TD height="20" bgcolor="#EDF2F9">
<?php
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
www.web4kurd.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
{
$template= kurdchin;
$category= 1;
$number = 15;
include $cutepath.'/show_news.php';
}
?>
</TD>
</tr>
<tr>
<TD height="20" bgcolor="#EDF2F9">
<p align="center">
<img border="0" src="hewallekan_le_mediya.gif" width="508" height="20"></TD>
</tr>
<tr>
<TD height="20" bgcolor="#EDF2F9">
<TABLE style="WIDTH: 100%" id="table1896">
<TBODY>
<TR>
<TD class=media style="HEIGHT: 31px" bgcolor="#FFFFFF" bordercolor="#FF0000">
<img border="0" src="midyakan/aso.jpg" width="100" height="28"></TD>
<TD class=media style="HEIGHT: 31px" bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.awene.com/">
<img border="0" src="midyakan/awene.jpg" width="100" height="47"></a></TD>
<TD class=media style="HEIGHT: 31px" bgcolor="#FFFFFF" bordercolor="#FF0000">
<img border="0" src="midyakan/cemawer.jpg" width="100" height="28"></TD>
<TD class=media style="HEIGHT: 31px" bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.gdarband.com/sereta.php">
<img border="0" src="midyakan/gencan-logo.jpg" width="100" height="48"></a></TD>
<TD class=media width="103" bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.hawlati.com/">
<img border="0" src="midyakan/hawlati.jpg" width="100" height="28"></a></TD></TR>
<TR>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.hewalnews.net/">
<img border="0" src="midyakan/hewal-net.jpg" width="100" height="38"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.kurdistanonline.net/">
<img border="0" src="midyakan/k_online.jpg" width="100" height="50"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.klawrojna.com/">
<img border="0" src="midyakan/klawrojne.jpg" width="100" height="28"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.knwe.org/">
<img border="0" src="midyakan/kurdistaninwe.jpg" width="100" height="28"></a></TD>
<TD class=media width="103" bgcolor="#FFFFFF" bordercolor="#FF0000">
<img border="0" src="midyakan/kurdistanraport.jpg" width="100" height="25"></TD></TR>
<TR>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.knewsdaily.org/Malper.aspx">
<img border="0" src="midyakan/kurdnews-logo.jpg" width="100" height="24"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.yndk.com/">
<img border="0" src="midyakan/midya.jpg" width="100" height="35"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://nawxo.org/ku/index.php">
<img border="0" src="midyakan/nna-logo.jpg" width="100" height="25"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.pertwk.com/pertwk/">
<img border="0" src="midyakan/pertuk_log.jpg" width="100" height="33"></a></TD>
<TD class=media width="103" bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.peyamner.com/">
<img border="0" src="midyakan/peyamner.jpg" width="100" height="28"></a></TD></TR>
<TR>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.pukmedia.com/kurdish/">
<img border="0" src="midyakan/pukmedia-kurdistan.gif" width="334" height="140"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.runaki.net/sereta.aspx">
<img border="0" src="midyakan/runaki-log.jpg" width="100" height="55"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.sbeiy.com/ku/default.aspx">
<img border="0" src="midyakan/Sbei-logoWHITE.jpg" width="100" height="40"></a></TD>
<TD class=media bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://www.xebat.net/index.php">
<img border="0" src="midyakan/xebat.jpg" width="100" height="28"></a></TD>
<TD class=media width="103" bgcolor="#FFFFFF" bordercolor="#FF0000">
<a href="http://kurdistannet.info/">
<img border="0" src="midyakan/a-kn.jpg" width="212" height="109"></a></TD></TR></TBODY></TABLE></TD>
</tr>
</TBODY></TABLE></TD>
<TD class=xaney_chep width=168 height="394">
<TABLE style="WIDTH: 92%">
<TBODY>
<TR>
<TD class=beshekan style="border-color: #FF0000; ">
<?php
$template="lift";
$category="3";
$number="15";
include $cutepath.'/show_news.php';
?>
<span lang="en-us"></span></TD></TR>
</TBODY></TABLE></TD></TR>
<TR>
<TD class=footer colSpan=3 height="4007" bordercolor="#FF0000">
<table border="1" width="100%" id="table1895" height="71">
<tr>
<td bgcolor="#FF0000"> <!-- Histats.com START -->
<a href="http://www.histats.com" target="_blank" title="web counter free" ><script type="text/javascript" language="javascript">
var s_sid = 485708;var st_dominio = 4;
var cimg = 334;var cwi =112;var che =62;
</script></a>
<script type="text/javascript" language="javascript" src="http://s10.histats.com/js9.js"></script>
<noscript><a href="http://www.histats.com" target="_blank">
<img src="http://s4.histats.com/stats/0.gif?485708&1" alt="web counter free" border="0"></a>
</noscript>
<!-- Histats.com END --><br><script src="http://fastwebcounter.com/secure.php?s=www.zerak.net"></script>
<!-- End FastWebCounter.com --></td>
<td width="321" bgcolor="#FF0000">
<img border="0" src="xwarewa2.jpg" width="335" height="116"></td>
<td width="330" bgcolor="#FF0000">
<img border="0" src="xware1.jpg" width="343" height="116"></td>
</tr>
</table>
</TD></TR></TBODY></TABLE></DIV></BODY></HTML>واتا ئاوا
<TR>
<TD>
<? php include("yane/extern.php?action=active"); ?>
<TR>
<TD>
<table border="1" width="100%">
<tr>لێره نیه
ئهمه دابنێ،
<?php include("yane/extern.php?action=active"); ?>لێره نیه
کاکه ئاسۆ دام ناو ئهم ههڵه یه نیشان ئهدات
ئهمه کۆدهکانی ناو extern.php
<?php
/***********************************************************************
Copyright (C) 2002-2005 Rickard Andersson (rickard@punbb.org)
This file is part of PunBB.
PunBB is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
PunBB is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA
************************************************************************
INSTRUCTIONS
This script is used to include information about your board from
pages outside the forums and to syndicate news about recent
discussions via RSS. The script can display a list of recent
discussions (sorted by post time or last post time), a list of
active users or a collection of general board statistics. The
script can be called directly via an URL (for RSS), from a PHP
include command or through the use of Server Side Includes (SSI).
The scripts behaviour is controlled via variables supplied in the
URL to the script. The different variables are: action (what to
output), show (how many topics to display), fid (the ID or ID's of
the forum(s) to poll for topics), nfid (the ID or ID's of forums
that should be excluded) and type (output as HTML or RSS). The
only mandatory variable is action. Possible/default values are:
action: active (show most recently active topics) (HTML or RSS)
new (show newest topics) (HTML or RSS)
online (show users online) (HTML)
online_full (as above, but includes a full list) (HTML)
stats (show board statistics) (HTML)
show: Any integer value between 1 and 50. This variables is
ignored for RSS output. The default is 15.
fid: One or more forum ID's (comma-separated). If ignored,
topics from all guest-readable forums will be polled.
nfid: One or more forum ID's (comma-separated) that are to be
excluded. E.g. the ID of a a test forum.
type: RSS. Anything else means HTML output.
Here are some examples using PHP include().
Show the 15 most recently active topics from all forums:
<marquee><?php
include('http://love4kurd.com/yane/extern.php?action=active');
?></marquee>
Show the 10 newest topics from forums with ID 5, 6 and 7:
include('http://host.com/forums/extern.php?action=new&show=10&fid=5,6,7');
Show users online:
include('http://host.com/forums/extern.php?action=online');
Show users online with full listing of users:
include('http://host.com/forums/extern.php?action=online_full');
Show board statistics:
include('http://host.com/forums/extern.php?action=stats');
Here are some examples using SSI.
Show the 5 newest topics from forums with ID 11 and 22:
<!--#include virtual="forums/extern.php?action=new&show=5&fid=11,22" -->
Show board statistics:
<!--#include virtual="forums/extern.php?action=stats" -->
And finally some examples using extern.php to output an RSS 0.91
feed.
Output the 15 most recently active topics:
http://host.com/extern.php?action=active&type=RSS
Output the 15 newest topics from forum with ID=2:
http://host.com/extern.php?action=active&type=RSS&fid=2
Below you will find some variables you can edit to tailor the
scripts behaviour to your needs.
/***********************************************************************/
// The maximum number of topics that will be displayed
$show_max_topics = 100;
// The length at which topic subjects will be truncated (for HTML output)
$max_subject_length = 150;
/***********************************************************************/
// DO NOT EDIT ANYTHING BELOW THIS LINE! (unless you know what you are doing)
define('PUN_ROOT', './');
@include PUN_ROOT.'config.php';
// If PUN isn't defined, config.php is missing or corrupt
if (!defined('PUN'))
exit('The file \'config.php\' doesn\'t exist or is corrupt. Please run install.php to install PunBB first.');
// Make sure PHP reports all errors except E_NOTICE
error_reporting(E_ALL ^ E_NOTICE);
// Turn off magic_quotes_runtime
set_magic_quotes_runtime(0);
// Load the functions script
require PUN_ROOT.'include/functions.php';
// Load DB abstraction layer and try to connect
require PUN_ROOT.'include/dblayer/common_db.php';
// Load cached config
@include PUN_ROOT.'cache/cache_config.php';
if (!defined('PUN_CONFIG_LOADED'))
{
require PUN_ROOT.'include/cache.php';
generate_config_cache();
require PUN_ROOT.'cache/cache_config.php';
}
// Make sure we (guests) have permission to read the forums
$result = $db->query('SELECT g_read_board FROM '.$db->prefix.'groups WHERE g_id=3') or error('Unable to fetch group info', __FILE__, __LINE__, $db->error());
if ($db->result($result) == '0')
exit('No permission');
// Attempt to load the common language file
@include PUN_ROOT.'lang/'.$pun_config['o_default_lang'].'/common.php';
if (!isset($lang_common))
exit('There is no valid language pack \''.$pun_config['o_default_lang'].'\' installed. Please reinstall a language of that name.');
// Check if we are to display a maintenance message
if ($pun_config['o_maintenance'] && !defined('PUN_TURN_OFF_MAINT'))
maintenance_message();
if (!isset($_GET['action']))
exit('No parameters supplied. See extern.php for instructions.');
//
// Converts the CDATA end sequence ]]> into ]]>
//
function escape_cdata($str)
{
return str_replace(']]>', ']]>', $str);
}
//
// Show recent discussions
//
if ($_GET['action'] == 'active' || $_GET['action'] == 'new')
{
$order_by = ($_GET['action'] == 'active') ? 't.last_post' : 't.posted';
$forum_sql = '';
// Was any specific forum ID's supplied?
if (isset($_GET['fid']) && $_GET['fid'] != '')
{
$fids = explode(',', trim($_GET['fid']));
$fids = array_map('intval', $fids);
if (!empty($fids))
$forum_sql = ' AND f.id IN('.implode(',', $fids).')';
}
// Any forum ID's to exclude?
if (isset($_GET['nfid']) && $_GET['nfid'] != '')
{
$nfids = explode(',', trim($_GET['nfid']));
$nfids = array_map('intval', $nfids);
if (!empty($nfids))
$forum_sql = ' AND f.id NOT IN('.implode(',', $nfids).')';
}
// Should we output this as RSS?
if (isset($_GET['type']) && strtoupper($_GET['type']) == 'RSS')
{
$rss_description = ($_GET['action'] == 'active') ? $lang_common['RSS Desc Active'] : $lang_common['RSS Desc New'];
$url_action = ($_GET['action'] == 'active') ? '&action=new' : '';
// Send XML/no cache headers
header('Content-Type: text/xml');
header('Expires: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
// It's time for some syndication!
echo '<?xml version="1.0" encoding="'.$lang_common['lang_encoding'].'"?>'."\r\n";
echo '<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">'."\r\n";
echo '<rss version="0.91">'."\r\n";
echo '<channel>'."\r\n";
echo "\t".'<title>'.pun_htmlspecialchars($pun_config['o_board_title']).'</title>'."\r\n";
echo "\t".'<link>'.$pun_config['o_base_url'].'/</link>'."\r\n";
echo "\t".'<description>'.pun_htmlspecialchars($rss_description.' '.$pun_config['o_board_title']).'</description>'."\r\n";
echo "\t".'<language>en-us</language>'."\r\n";
// Fetch 15 topics
$result = $db->query('SELECT t.id, t.poster, t.subject, t.posted, t.last_post, f.id AS fid, f.forum_name FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.moved_to IS NULL'.$forum_sql.' ORDER BY '.$order_by.' DESC LIMIT 15') or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
while ($cur_topic = $db->fetch_assoc($result))
{
if ($pun_config['o_censoring'] == '1')
$cur_topic['subject'] = censor_words($cur_topic['subject']);
echo "\t".'<item>'."\r\n";
echo "\t\t".'<title>'.pun_htmlspecialchars($cur_topic['subject']).'</title>'."\r\n";
echo "\t\t".'<link>'.$pun_config['o_base_url'].'/viewtopic.php?id='.$cur_topic['id'].$url_action.'</link>'."\r\n";
echo "\t\t".'<description><![CDATA['.escape_cdata($lang_common['Forum'].': <a href="'.$pun_config['o_base_url'].'/viewforum.php?id='.$cur_topic['fid'].'">'.$cur_topic['forum_name'].'</a><br />'."\r\n".$lang_common['Author'].': '.$cur_topic['poster'].'<br />'."\r\n".$lang_common['Posted'].': '.date('r', $cur_topic['posted']).'<br />'."\r\n".$lang_common['Last post'].': '.date('r', $cur_topic['last_post'])).']]></description>'."\r\n";
echo "\t".'</item>'."\r\n";
}
echo '</channel>'."\r\n";
echo '</rss>';
}
// Output regular HTML
else
{
$show = isset($_GET['show']) ? intval($_GET['show']) : 15;
if ($show < 1 || $show > 50)
$show = 15;
// Fetch $show topics
$result = $db->query('SELECT t.id, t.subject FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.moved_to IS NULL'.$forum_sql.' ORDER BY '.$order_by.' DESC LIMIT '.$show) or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
while ($cur_topic = $db->fetch_assoc($result))
{
if ($pun_config['o_censoring'] == '1')
$cur_topic['subject'] = censor_words($cur_topic['subject']);
if (pun_strlen($cur_topic['subject']) > $max_subject_length)
$subject_truncated = pun_htmlspecialchars(trim(substr($cur_topic['subject'], 0, ($max_subject_length-5)))).' …';
else
$subject_truncated = pun_htmlspecialchars($cur_topic['subject']);
echo '<a target="_top" href="'.$pun_config['o_base_url'].'/viewtopic.php?id='.$cur_topic['id'].'&action=new" title="'.pun_htmlspecialchars($cur_topic['subject']).'">'.$subject_truncated.'</a> | ';
}
}
return;
}
//
// Show users online
//
else if ($_GET['action'] == 'online' || $_GET['action'] == 'online_full')
{
// Load the index.php language file
require PUN_ROOT.'lang/'.$pun_config['o_default_lang'].'/index.php';
// Fetch users online info and generate strings for output
$num_guests = $num_users = 0;
$users = array();
$result = $db->query('SELECT user_id, ident FROM '.$db->prefix.'online WHERE idle=0 ORDER BY ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());
while ($pun_user_online = $db->fetch_assoc($result))
{
if ($pun_user_online['user_id'] > 1)
{
$users[] = '<a href="'.$pun_config['o_base_url'].'/profile.php?id='.$pun_user_online['user_id'].'">'.pun_htmlspecialchars($pun_user_online['ident']).'</a>';
++$num_users;
}
else
++$num_guests;
}
echo $lang_index['Guests online'].': '.$num_guests.'<br />';
if ($_GET['action'] == 'online_full')
echo $lang_index['Users online'].': '.implode(', ', $users).'<br />';
else
echo $lang_index['Users online'].': '.$num_users.'<br />';
return;
}
//
// Show board statistics
//
else if ($_GET['action'] == 'stats')
{
// Load the index.php language file
require PUN_ROOT.'lang/'.$pun_config['o_default_lang'].'/index.php';
// Collect some statistics from the database
$result = $db->query('SELECT COUNT(id)-1 FROM '.$db->prefix.'users') or error('Unable to fetch total user count', __FILE__, __LINE__, $db->error());
$stats['total_users'] = $db->result($result);
$result = $db->query('SELECT id, username FROM '.$db->prefix.'users ORDER BY registered DESC LIMIT 1') or error('Unable to fetch newest registered user', __FILE__, __LINE__, $db->error());
$stats['last_user'] = $db->fetch_assoc($result);
$result = $db->query('SELECT SUM(num_topics), SUM(num_posts) FROM '.$db->prefix.'forums') or error('Unable to fetch topic/post count', __FILE__, __LINE__, $db->error());
list($stats['total_topics'], $stats['total_posts']) = $db->fetch_row($result);
echo $lang_index['No of users'].': '.$stats['total_users'].'<br />';
echo $lang_index['Newest user'].': <a href="'.$pun_config['o_base_url'].'/profile.php?id='.$stats['last_user']['id'].'">'.pun_htmlspecialchars($stats['last_user']['username']).'</a><br />';
echo $lang_index['No of topics'].': '.$stats['total_topics'].'<br />';
echo $lang_index['No of posts'].': '.$stats['total_posts'];
return;
}
else
exit('Bad request');ئهمهش کۆدهکانی ناو extern1.php
<?php
/***********************************************************************
Copyright (C) 2002-2005 Rickard Andersson (rickard@punbb.org)
This file is part of PunBB.
PunBB is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
PunBB is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA
************************************************************************
INSTRUCTIONS
This script is used to include information about your board from
pages outside the forums and to syndicate news about recent
discussions via RSS. The script can display a list of recent
discussions (sorted by post time or last post time), a list of
active users or a collection of general board statistics. The
script can be called directly via an URL (for RSS), from a PHP
include command or through the use of Server Side Includes (SSI).
The scripts behaviour is controlled via variables supplied in the
URL to the script. The different variables are: action (what to
output), show (how many topics to display), fid (the ID or ID's of
the forum(s) to poll for topics), nfid (the ID or ID's of forums
that should be excluded) and type (output as HTML or RSS). The
only mandatory variable is action. Possible/default values are:
action: active (show most recently active topics) (HTML or RSS)
new (show newest topics) (HTML or RSS)
online (show users online) (HTML)
online_full (as above, but includes a full list) (HTML)
stats (show board statistics) (HTML)
show: Any integer value between 1 and 50. This variables is
ignored for RSS output. The default is 15.
fid: One or more forum ID's (comma-separated). If ignored,
topics from all guest-readable forums will be polled.
nfid: One or more forum ID's (comma-separated) that are to be
excluded. E.g. the ID of a a test forum.
type: RSS. Anything else means HTML output.
Here are some examples using PHP include().
Show the 15 most recently active topics from all forums:
<marquee><?php
include('http://Nawisaitakat.com/meko/extern.php?action=active');
?></marquee>
Show the 10 newest topics from forums with ID 5, 6 and 7:
include('http://host.com/forums/extern.php?action=new&show=10&fid=5,6,7');
Show users online:
include('http://host.com/forums/extern.php?action=online');
Show users online with full listing of users:
include('http://host.com/forums/extern.php?action=online_full');
Show board statistics:
include('http://host.com/forums/extern.php?action=stats');
Here are some examples using SSI.
Show the 5 newest topics from forums with ID 11 and 22:
<!--#include virtual="forums/extern.php?action=new&show=5&fid=11,22" -->
Show board statistics:
<!--#include virtual="forums/extern.php?action=stats" -->
And finally some examples using extern.php to output an RSS 0.91
feed.
Output the 15 most recently active topics:
http://host.com/extern.php?action=active&type=RSS
Output the 15 newest topics from forum with ID=2:
http://host.com/extern.php?action=active&type=RSS&fid=2
Below you will find some variables you can edit to tailor the
scripts behaviour to your needs.
/***********************************************************************/
// The maximum number of topics that will be displayed
$show_max_topics = 100;
// The length at which topic subjects will be truncated (for HTML output)
$max_subject_length = 150;
/***********************************************************************/
// DO NOT EDIT ANYTHING BELOW THIS LINE! (unless you know what you are doing)
define('PUN_ROOT', './');
@include PUN_ROOT.'config.php';
// If PUN isn't defined, config.php is missing or corrupt
if (!defined('PUN'))
exit('The file \'config.php\' doesn\'t exist or is corrupt. Please run install.php to install PunBB first.');
// Make sure PHP reports all errors except E_NOTICE
error_reporting(E_ALL ^ E_NOTICE);
// Turn off magic_quotes_runtime
set_magic_quotes_runtime(0);
// Load the functions script
require PUN_ROOT.'include/functions.php';
// Load DB abstraction layer and try to connect
require PUN_ROOT.'include/dblayer/common_db.php';
// Load cached config
@include PUN_ROOT.'cache/cache_config.php';
if (!defined('PUN_CONFIG_LOADED'))
{
require PUN_ROOT.'include/cache.php';
generate_config_cache();
require PUN_ROOT.'cache/cache_config.php';
}
// Make sure we (guests) have permission to read the forums
$result = $db->query('SELECT g_read_board FROM '.$db->prefix.'groups WHERE g_id=3') or error('Unable to fetch group info', __FILE__, __LINE__, $db->error());
if ($db->result($result) == '0')
exit('No permission');
// Attempt to load the common language file
@include PUN_ROOT.'lang/'.$pun_config['o_default_lang'].'/common.php';
if (!isset($lang_common))
exit('There is no valid language pack \''.$pun_config['o_default_lang'].'\' installed. Please reinstall a language of that name.');
// Check if we are to display a maintenance message
if ($pun_config['o_maintenance'] && !defined('PUN_TURN_OFF_MAINT'))
maintenance_message();
if (!isset($_GET['action']))
exit('No parameters supplied. See extern.php for instructions.');
//
// Converts the CDATA end sequence ]]> into ]]>
//
function escape_cdata($str)
{
return str_replace(']]>', ']]>', $str);
}
//
// Show recent discussions
//
if ($_GET['action'] == 'active' || $_GET['action'] == 'new')
{
$order_by = ($_GET['action'] == 'active') ? 't.last_post' : 't.posted';
$forum_sql = '';
// Was any specific forum ID's supplied?
if (isset($_GET['fid']) && $_GET['fid'] != '')
{
$fids = explode(',', trim($_GET['fid']));
$fids = array_map('intval', $fids);
if (!empty($fids))
$forum_sql = ' AND f.id IN('.implode(',', $fids).')';
}
// Any forum ID's to exclude?
if (isset($_GET['nfid']) && $_GET['nfid'] != '')
{
$nfids = explode(',', trim($_GET['nfid']));
$nfids = array_map('intval', $nfids);
if (!empty($nfids))
$forum_sql = ' AND f.id NOT IN('.implode(',', $nfids).')';
}
// Should we output this as RSS?
if (isset($_GET['type']) && strtoupper($_GET['type']) == 'RSS')
{
$rss_description = ($_GET['action'] == 'active') ? $lang_common['RSS Desc Active'] : $lang_common['RSS Desc New'];
$url_action = ($_GET['action'] == 'active') ? '&action=new' : '';
// Send XML/no cache headers
header('Content-Type: text/xml');
header('Expires: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
// It's time for some syndication!
echo '<?xml version="1.0" encoding="'.$lang_common['lang_encoding'].'"?>'."\r\n";
echo '<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">'."\r\n";
echo '<rss version="0.91">'."\r\n";
echo '<channel>'."\r\n";
echo "\t".'<title>'.pun_htmlspecialchars($pun_config['o_board_title']).'</title>'."\r\n";
echo "\t".'<link>'.$pun_config['o_base_url'].'/</link>'."\r\n";
echo "\t".'<description>'.pun_htmlspecialchars($rss_description.' '.$pun_config['o_board_title']).'</description>'."\r\n";
echo "\t".'<language>en-us</language>'."\r\n";
// Fetch 15 topics
$result = $db->query('SELECT t.id, t.poster, t.subject, t.posted, t.last_post, f.id AS fid, f.forum_name FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.moved_to IS NULL'.$forum_sql.' ORDER BY '.$order_by.' DESC LIMIT 15') or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
while ($cur_topic = $db->fetch_assoc($result))
{
if ($pun_config['o_censoring'] == '1')
$cur_topic['subject'] = censor_words($cur_topic['subject']);
echo "\t".'<item>'."\r\n";
echo "\t\t".'<title>'.pun_htmlspecialchars($cur_topic['subject']).'</title>'."\r\n";
echo "\t\t".'<link>'.$pun_config['o_base_url'].'/viewtopic.php?id='.$cur_topic['id'].$url_action.'</link>'."\r\n";
echo "\t\t".'<description><![CDATA['.escape_cdata($lang_common['Forum'].': <a href="'.$pun_config['o_base_url'].'/viewforum.php?id='.$cur_topic['fid'].'">'.$cur_topic['forum_name'].'</a><br />'."\r\n".$lang_common['Author'].': '.$cur_topic['poster'].'<br />'."\r\n".$lang_common['Posted'].': '.date('r', $cur_topic['posted']).'<br />'."\r\n".$lang_common['Last post'].': '.date('r', $cur_topic['last_post'])).']]></description>'."\r\n";
echo "\t".'</item>'."\r\n";
}
echo '</channel>'."\r\n";
echo '</rss>';
}
// Output regular HTML
else
{
$show = isset($_GET['show']) ? intval($_GET['show']) : 15;
if ($show < 1 || $show > 50)
$show = 15;
// Fetch $show topics
$result = $db->query('SELECT t.id, t.subject FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.moved_to IS NULL'.$forum_sql.' ORDER BY '.$order_by.' DESC LIMIT '.$show) or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
while ($cur_topic = $db->fetch_assoc($result))
{
if ($pun_config['o_censoring'] == '1')
$cur_topic['subject'] = censor_words($cur_topic['subject']);
if (pun_strlen($cur_topic['subject']) > $max_subject_length)
$subject_truncated = pun_htmlspecialchars(trim(substr($cur_topic['subject'], 0, ($max_subject_length-5)))).' …';
else
$subject_truncated = pun_htmlspecialchars($cur_topic['subject']);
echo '<a href="'.$pun_config['o_base_url'].'/viewtopic.php?id='.$cur_topic['id'].'&action=new" title="'.pun_htmlspecialchars($cur_topic['subject']).'">'.$subject_truncated.'</a> | ';
}
}
return;
}
//
// Show users online
//
else if ($_GET['action'] == 'online' || $_GET['action'] == 'online_full')
{
// Load the index.php language file
require PUN_ROOT.'lang/'.$pun_config['o_default_lang'].'/index.php';
// Fetch users online info and generate strings for output
$num_guests = $num_users = 0;
$users = array();
$result = $db->query('SELECT user_id, ident FROM '.$db->prefix.'online WHERE idle=0 ORDER BY ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());
while ($pun_user_online = $db->fetch_assoc($result))
{
if ($pun_user_online['user_id'] > 1)
{
$users[] = '<a href="'.$pun_config['o_base_url'].'/profile.php?id='.$pun_user_online['user_id'].'">'.pun_htmlspecialchars($pun_user_online['ident']).'</a>';
++$num_users;
}
else
++$num_guests;
}
echo $lang_index['Guests online'].': '.$num_guests.'<br />';
if ($_GET['action'] == 'online_full')
echo $lang_index['Users online'].': '.implode(', ', $users).'<br />';
else
echo $lang_index['Users online'].': '.$num_users.'<br />';
return;
}
//
// Show board statistics
//
else if ($_GET['action'] == 'stats')
{
// Load the index.php language file
require PUN_ROOT.'lang/'.$pun_config['o_default_lang'].'/index.php';
// Collect some statistics from the database
$result = $db->query('SELECT COUNT(id)-1 FROM '.$db->prefix.'users') or error('Unable to fetch total user count', __FILE__, __LINE__, $db->error());
$stats['total_users'] = $db->result($result);
$result = $db->query('SELECT id, username FROM '.$db->prefix.'users ORDER BY registered DESC LIMIT 1') or error('Unable to fetch newest registered user', __FILE__, __LINE__, $db->error());
$stats['last_user'] = $db->fetch_assoc($result);
$result = $db->query('SELECT SUM(num_topics), SUM(num_posts) FROM '.$db->prefix.'forums') or error('Unable to fetch topic/post count', __FILE__, __LINE__, $db->error());
list($stats['total_topics'], $stats['total_posts']) = $db->fetch_row($result);
echo $lang_index['No of users'].': '.$stats['total_users'].'<br />';
echo $lang_index['Newest user'].': <a href="'.$pun_config['o_base_url'].'/profile.php?id='.$stats['last_user']['id'].'">'.pun_htmlspecialchars($stats['last_user']['username']).'</a><br />';
echo $lang_index['No of topics'].': '.$stats['total_topics'].'<br />';
echo $lang_index['No of posts'].': '.$stats['total_posts'];
return;
}
else
exit('Bad request');نازانم هۆی چیه؟
لێره نیه
<?php include("/yane/extern.php?action=active"); ?>لێره نیه
ههلهکه گۆرا بۆ ئهمه
لێره نیه
زانیارییهكانتم به ئیمهیل بۆ بنێره.