PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : پیدا نکردن تگ <body>



PIANIST
12-02-2009, 02:13 PM
چرا من نمی تونم داخل فایل index.php تگ &lt;body&gt; رو پیدا کنم.

فایل index من :


&lt;?php defined( &quot;_VALID_MOS&quot; ) or die( &quot;Direct Access to this location is not allowed.&quot; );$iso = split( &#039;=&#039;, _ISO );echo &#039;&lt;?xml version=&quot;1.0&quot; encoding=&quot;&#039;. $iso[1] .&#039;&quot;?&#039; .&#039;&gt;&#039;;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
&lt;html xmlns=&quot;<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
&lt;head&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;stmenu.js&quot;&gt;&lt;/script&gt;

&lt;?php mosShowHead(); ?&gt;
&lt;meta <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> content=&quot;text/html;&gt;&lt;?php echo _ISO; ?&gt;&quot; /&gt;
&lt;?php if ( $my-&gt;id ) { initEditor(); } ?&gt;

&lt;link href=&quot;&lt;?php echo $mosConfig_live_site;?&gt;/templates/green_dream/css/template_css.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;

&lt;script language=&#039;JavaScript&#039;&gt;
function bluring(){
if(event.srcElement.tagName==&quot;A&quot;||event.srcElement .tagName==&quot;IMG&quot;) document.body.focus();
}
document.onfocusin=bluring;
&lt;/script&gt;
&lt;/head&gt;


&lt;body class=&quot;bg_main&quot;&gt;
&lt;a name=&quot;top&quot;&gt;&lt;/a&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;table width=&quot;842&quot; border=&quot;0&quot; align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;out_container&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan=&quot;3&quot;&gt;&lt;div id=&quot;header&quot;&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;td width=&quot;9&quot; height=&quot;75&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width=&quot;740&quot; align=&quot;left&quot; valign=&quot;bottom&quot;&gt;&lt;img src=&quot;templates/&lt;?php echo $GLOBALS&#91;&#039;cur_template&#039;]; ?&gt;/images/banner.gif&quot; hspace=&quot;20&quot; /&gt;&lt;/td&gt;

&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td align=&quot;center&quot; style=&quot;padding-top:7px;&quot;&gt;
&lt;table width=&quot;814&quot; border=&quot;0&quot; align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;main_container&quot;&gt;
&lt;tbody&gt;
&lt;tr valign=&quot;top&quot;&gt;
&lt;td width=&quot;169&quot; align=&quot;right&quot; background=&quot;templates/&lt;?php echo $GLOBALS&#91;&#039;cur_template&#039;]; ?&gt;/images/bg_left.gif&quot; style=&quot;padding:4px 0px 4px 0px;background-position:right;background-repeat:repeat-y&quot;&gt;
&lt;div id=&quot;leftside&quot;&gt;
&lt;div id=&quot;randompic&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;clr&quot;&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;div id=&quot;leftmain&quot;&gt;
&lt;?php mosLoadModules ( &quot;right&quot; ); ?&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/td&gt;
&lt;td align=&quot;center&quot; style=&quot;padding:6px 15px 0px 0px&quot;&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;div id=&quot;main_body&quot;&gt;
&lt;?php if ( mosCountModules( &#039;banner&#039; ) ) { ?&gt;
&lt;div id=&quot;newsflash&quot;&gt;
&lt;?php mosLoadModules ( &#039;banner&#039; ); ?&gt;
&lt;/div&gt;
&lt;?php
}
?&gt;
&lt;?php if ( mosCountModules( &#039;top&#039; ) ) { ?&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;div id=&quot;newsflash&quot;&gt;
&lt;?php mosLoadModules ( &#039;top&#039; ); ?&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;?php
}
?&gt;
&lt;table width=&quot;97%&quot; border=&quot;0&quot; align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; bgcolor=&quot;cff298&quot; style=&quot;margin-bottom:5px&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width=&quot;50%&quot; bgcolor=&quot;#edffd9&quot;&gt;&lt;div id=&quot;blocks&quot;&gt;
&lt;?php mosLoadModules ( &quot;user1&quot; ); ?&gt;
&lt;/div&gt;&lt;/td&gt;
&lt;td width=&quot;50%&quot; bgcolor=&quot;#edffd9&quot;&gt;&lt;div id=&quot;blocks&quot;&gt;
&lt;?php mosLoadModules ( &quot;user2&quot; ); ?&gt;
&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;div id=&quot;clr&quot;&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;div id=&quot;main_area&quot;&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/td&gt;
&lt;?php if ( mosCountModules( &#039;right&#039; ) ) { ?&gt;
&lt;td width=&quot;169&quot; align=&quot;center&quot; background=&quot;templates/&lt;?php echo $GLOBALS&#91;&#039;cur_template&#039;]; ?&gt;/images/bg_right.gif&quot; style=&quot;padding:4px 4px 0px 0px;background-position:right;background-repeat:repeat-y&quot;&gt;
&lt;div id=&quot;rightside&quot;&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;div id=&quot;rightmain&quot;&gt;
&lt;?php mosLoadModules ( &quot;left&quot; ); ?&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/td&gt;
&lt;?php
}
?&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td align=&quot;center&quot;&quot;&gt;
&lt;table width=&quot;806&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;
&lt;tr&gt;

&lt;td width=&quot;149&quot; align=&quot;right&quot; valign=&quot;top&quot; background=&quot;templates/&lt;?php echo $GLOBALS&#91;&#039;cur_template&#039;]; ?&gt;/images/bottom2.gif&quot;&gt;&lt;a href=&quot;#top&quot;&gt;&lt;img src=&quot;templates/&lt;?php echo $GLOBALS&#91;&#039;cur_template&#039;]; ?&gt;/images/top.gif&quot; width=&quot;25&quot; height=&quot;9&quot; hspace=&quot;30&quot; vspace=&quot;8&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr align=&quot;center&quot;&gt;
&lt;td colspan=&quot;3&quot;&gt;&lt;div id=&quot;bottom&quot;&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;

مهدی.
12-02-2009, 02:28 PM
سلام

بعد از :
&lt;/head&gt;

نوشته شده :

&lt;body class=&quot;bg_main&quot;&gt;

که خوب در نوع خودش نشون میده طراح قالب کمی انسان جالبی بوده!

پاییزتان پر مهر

PIANIST
12-02-2009, 02:53 PM
مرسی.

کد زیر رو در بین دو تگ &lt;head&gt; , &lt;/head&gt; قرار میدم :


&lt;script type=&quot;text/javascript&quot; src=&quot;stmenu.js&quot;&gt;&lt;/script&gt;


و کد زیر رو در بین &lt;body class=&quot;bg_main&quot;&gt; و &lt;/body&gt; قرار میدم :


&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
stm_bm([&quot;menu1a91&quot;,900,&quot;&quot;,&quot;blank.gif&quot;,0,&quot;&quot;,&quot;&quot;,2,0,250,0,10 00,1,0,0,&quot;&quot;,&quot;100%&quot;,0,0,1,2,&quot;default&quot;,&quot;hand&quot;,&quot;&quot;,1,2 5],this);
stm_bp(&quot;p0&quot;,[0,4,0,0,0,7,5,0,100,&quot;&quot;,-2,&quot;&quot;,-2,50,0,0,&quot;#999999&quot;,&quot;transparent&quot;,&quot;bg_01.gif&quot;,3,1,1 ,&quot;#000000&quot;]);
stm_ai(&quot;p0i0&quot;,[0,&quot;نرم افزار آموزشي&quot;,&quot;&quot;,&quot;&quot;,-1,-1,0,&quot;#&quot;,&quot;_self&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,5,5,0,&quot;&quot;,&quot;&quot;,-1,-1,0,1,1,&quot;#FFFFF7&quot;,1,&quot;#993333&quot;,1,&quot;&quot;,&quot;bg_02.gif&quot;,3,1 ,0,0,&quot;#FFFFF7&quot;,&quot;#000000&quot;,&quot;#FFFFFF&quot;,&quot;#FFFFFF&quot;,&quot;bold 9pt Arial&quot;,&quot;bold 9pt Arial&quot;,0,0,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,0,0,0],135,0);
stm_bpx(&quot;p1&quot;,&quot;p0&quot;,[1,4,0,2,0,5,0,0,80,&quot;progid:DXImageTransform.Micros oft.RandomDissolve(,enabled=0,Duration=0.30)&quot;,12,&quot; progid:DXImageTransform.Microsoft.RandomDissolve(, enabled=0,Duration=0.30)&quot;,12,80,0,0,&quot;#666666&quot;,&quot;#00 0000&quot;,&quot;&quot;]);
stm_aix(&quot;p1i0&quot;,&quot;p0i0&quot;,[0,&quot;Glanda&quot;,&quot;&quot;,&quot;&quot;,-1,-1,0,&quot;#&quot;,&quot;_self&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,0,0,0,&quot;&quot;,&quot;&quot;,0,0,0,0,1, &quot;#F9E0CA&quot;,1,&quot;#666666&quot;,0,&quot;&quot;,&quot;&quot;,3,1,0,0,&quot;#FFFFFF&quot;,&quot;# FFFFFF&quot;,&quot;#FFFFFF&quot;,&quot;#FFFFFF&quot;,&quot;9pt Arial&quot;,&quot;9pt Arial&quot;],135,18);
stm_aix(&quot;p1i1&quot;,&quot;p1i0&quot;,[0,&quot;DHTMLMenu&quot;],135,18);
stm_aix(&quot;p1i2&quot;,&quot;p1i0&quot;,[0,&quot;Decompiler&quot;],135,18);
stm_aix(&quot;p1i3&quot;,&quot;p1i0&quot;,[0,&quot;Quicker&quot;],135,18);
stm_aix(&quot;p1i4&quot;,&quot;p1i0&quot;,[0,&quot;Flash player&quot;],135,18);
stm_aix(&quot;p1i5&quot;,&quot;p1i0&quot;,[0,&quot;Tree Menu&quot;],135,18);
stm_aix(&quot;p1i6&quot;,&quot;p1i0&quot;,[0,&quot;Glanda Samples&quot;],135,0);
stm_aix(&quot;p1i7&quot;,&quot;p1i2&quot;,&#91;],135,0);
stm_aix(&quot;p1i8&quot;,&quot;p1i4&quot;,&#91;],135,0);
stm_aix(&quot;p1i9&quot;,&quot;p1i3&quot;,&#91;],135,0);
stm_ep();
stm_ai(&quot;p0i1&quot;,[6,1,&quot;#000000&quot;,&quot;&quot;,-1,-1,0]);
stm_aix(&quot;p0i2&quot;,&quot;p0i0&quot;,[0,&quot;Samples&quot;,&quot;&quot;,&quot;&quot;,-1,-1,0,&quot;#&quot;,&quot;_self&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,5,5,0,&quot;&quot;,&quot;&quot;,-1,-1,0,1,1,&quot;#FFFFF7&quot;,1,&quot;#993333&quot;,1,&quot;&quot;,&quot;bg_02.gif&quot;,1],135,0);
stm_bpx(&quot;p2&quot;,&quot;p1&quot;,&#91;]);
stm_aix(&quot;p2i0&quot;,&quot;p1i6&quot;,&#91;]);
stm_aix(&quot;p2i1&quot;,&quot;p1i0&quot;,[0,&quot;DHTMLMenu Samples&quot;]);
stm_aix(&quot;p2i2&quot;,&quot;p1i2&quot;,&#91;]);
stm_aix(&quot;p2i3&quot;,&quot;p1i0&quot;,[0,&quot;QuickerSamples&quot;]);
stm_aix(&quot;p2i4&quot;,&quot;p1i4&quot;,&#91;]);
stm_ep();
stm_aix(&quot;p0i3&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i4&quot;,&quot;p0i2&quot;,[0,&quot;Features List&quot;],135,0);
stm_bpx(&quot;p3&quot;,&quot;p1&quot;,&#91;]);
stm_aix(&quot;p3i0&quot;,&quot;p1i6&quot;,&#91;],0,18);
stm_aix(&quot;p3i1&quot;,&quot;p1i6&quot;,&#91;],0,18);
stm_aix(&quot;p3i2&quot;,&quot;p2i1&quot;,&#91;],0,18);
stm_aix(&quot;p3i3&quot;,&quot;p2i1&quot;,&#91;],0,18);
stm_aix(&quot;p3i4&quot;,&quot;p1i2&quot;,&#91;],0,18);
stm_aix(&quot;p3i5&quot;,&quot;p1i2&quot;,&#91;],0,18);
stm_aix(&quot;p3i6&quot;,&quot;p2i3&quot;,&#91;],0,18);
stm_aix(&quot;p3i7&quot;,&quot;p2i3&quot;,&#91;],0,18);
stm_aix(&quot;p3i8&quot;,&quot;p1i4&quot;,&#91;],0,18);
stm_aix(&quot;p3i9&quot;,&quot;p1i4&quot;,&#91;],0,18);
stm_ep();
stm_aix(&quot;p0i5&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i6&quot;,&quot;p0i2&quot;,[0,&quot;Download&quot;],135,0);
stm_bpx(&quot;p4&quot;,&quot;p1&quot;,&#91;]);
stm_aix(&quot;p4i0&quot;,&quot;p1i0&quot;,&#91;],135,0);
stm_aix(&quot;p4i1&quot;,&quot;p1i2&quot;,&#91;],135,0);
stm_aix(&quot;p4i2&quot;,&quot;p1i3&quot;,&#91;],135,0);
stm_aix(&quot;p4i3&quot;,&quot;p1i4&quot;,&#91;],135,0);
stm_aix(&quot;p4i4&quot;,&quot;p1i5&quot;,&#91;],135,0);
stm_aix(&quot;p4i5&quot;,&quot;p1i1&quot;,&#91;],135,0);
stm_ep();
stm_aix(&quot;p0i7&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i8&quot;,&quot;p0i2&quot;,[0,&quot;About&quot;],135,0);
stm_bpx(&quot;p5&quot;,&quot;p1&quot;,&#91;]);
stm_aix(&quot;p5i0&quot;,&quot;p1i0&quot;,&#91;],0,18);
stm_aix(&quot;p5i1&quot;,&quot;p1i1&quot;,&#91;],0,18);
stm_aix(&quot;p5i2&quot;,&quot;p1i2&quot;,&#91;],0,18);
stm_aix(&quot;p5i3&quot;,&quot;p1i3&quot;,&#91;],0,18);
stm_aix(&quot;p5i4&quot;,&quot;p1i4&quot;,&#91;],0,18);
stm_aix(&quot;p5i5&quot;,&quot;p1i5&quot;,&#91;],0,18);
stm_aix(&quot;p5i6&quot;,&quot;p1i6&quot;,&#91;],0,18);
stm_aix(&quot;p5i7&quot;,&quot;p2i1&quot;,&#91;],0,18);
stm_aix(&quot;p5i8&quot;,&quot;p2i3&quot;,&#91;],0,18);
stm_ep();
stm_aix(&quot;p0i9&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i10&quot;,&quot;p0i2&quot;,[0,&quot;Menu Item 1&quot;,&quot;&quot;,&quot;&quot;,-1,-1,0,&quot;&quot;,&quot;_self&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,5,5,0,&quot;&quot;,&quot;&quot;,0,0]);
stm_aix(&quot;p0i11&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i12&quot;,&quot;p0i10&quot;,[0,&quot;Menu Item 2&quot;]);
stm_aix(&quot;p0i13&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i14&quot;,&quot;p0i10&quot;,[0,&quot;Menu Item 3&quot;]);
stm_aix(&quot;p0i15&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i16&quot;,&quot;p0i10&quot;,[0,&quot;Menu Item 4&quot;]);
stm_aix(&quot;p0i17&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i18&quot;,&quot;p0i10&quot;,[0,&quot;Menu Item 5&quot;]);
stm_aix(&quot;p0i19&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i20&quot;,&quot;p0i10&quot;,[0,&quot;Menu Item 6&quot;]);
stm_aix(&quot;p0i21&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i22&quot;,&quot;p0i10&quot;,[0,&quot;Menu Item 7&quot;]);
stm_aix(&quot;p0i23&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i24&quot;,&quot;p0i10&quot;,[0,&quot;Menu Item 8&quot;]);
stm_aix(&quot;p0i25&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i26&quot;,&quot;p0i10&quot;,[0,&quot;Menu Item 9&quot;]);
stm_aix(&quot;p0i27&quot;,&quot;p0i1&quot;,&#91;]);
stm_aix(&quot;p0i28&quot;,&quot;p0i10&quot;,[0,&quot;Menu Item 10&quot;]);
stm_aix(&quot;p0i29&quot;,&quot;p0i1&quot;,&#91;]);
stm_ep();
stm_cf([0,0,0,&quot;Main_frame&quot;,&quot;Navigation_frame&quot;,1]);
stm_em();
//--&gt;
&lt;/script&gt;



که باید در صفح یک منو به صورت افقی ایجاد بشه ولی نتیجه دلخواه حاصل نمیشه. این کد رو از یه نرم افزار منو سازی میگیرم که گفته به این صورت قرار بده ولی نمیدونم اشکال کار کجاست.

مهدی.
12-02-2009, 02:56 PM
این مقاله رو بخونید : <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> D9%88%D9%84_%D9%87%D9%85%DB%8C%D8%B4%D9%87_%D9%86% D9%85%D8%A7%DB%8C%D8%A7%D9%86

باید لینک فایل js را به شکل این مقاله بدید!

پاییزتان پر مهر