PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : قراردادن ک)د swf



zibafar
08-19-2010, 02:48 PM
سلام دوستان
بنده می خواهم این کد زیبای دعای فرج را در بالای سایتم(جـــــــــــــوملا) بگذارم لذا خواهشمند است بنده را در این امر یاری فرمایید.


&lt;EMBED src=<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b>
width=570 height=50 type=application/x-shockwave-flash&gt;&lt;/div&gt;

erwin
08-19-2010, 09:06 PM
آدرس سایت رو هم مرحمت بفرمایید و بگید که کجاش قرار می خواد بگیره؟

مهدی.
08-20-2010, 04:28 AM
سلام

کد ناقص هست !

ولی باید بطور کلی در فایل index.php قالب خود مراجعه کنید و این کد را در بین تگ html یا body قرار دهید !

هیچکس تنهاتر از خدا نیست

zibafar
08-20-2010, 06:05 PM
دوست عزیز خیلی ممنون از راهنماییتون
اما متأسفانه بنده نمی دونم دقیقا چه جوری باید آدرس اضافه کنم

&lt;EMBED src=doaye-faraj1.swf
width=570 height=50 type=application/x-shockwave-flash&gt;&lt;/div&gt;
در واقعا نمی دونم چه جوری باید آدرس بدم
در root فولدر template سایتم، این فایل فلش doaye-faraj1.swf هستش اما دقیقا باید چطور آدرس بدم.... :angel:

src=doaye-faraj1.swf این کار نمی کنه ، نمی دونم چرا؟

اینم کل کد index.php قالبم

&lt;?php
defined(&#039;_JEXEC&#039;) or die(&#039;Restricted access&#039;); // no direct access
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . &#039;functions.php&#039;;
$document = null;
if (isset($this))
$document = &amp; $this;
$baseUrl = $this-&gt;baseurl;
$templateUrl = $this-&gt;baseurl . &#039;/templates/&#039; . $this-&gt;template;
artxComponentWrapper($document);
?&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> xml:lang=&quot;&lt;?php echo $this-&gt;language; ?&gt;&quot; lang=&quot;&lt;?php echo $this-&gt;language; ?&gt;&quot; &gt;
&lt;head&gt;
&lt;meta <b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> content=&quot;IE=EmulateIE7&quot; /&gt;
&lt;jdoc:include type=&quot;head&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $this-&gt;baseurl; ?&gt;/templates/system/css/system.css&quot; type=&quot;text/css&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $this-&gt;baseurl; ?&gt;/templates/system/css/general.css&quot; type=&quot;text/css&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;&lt;?php echo $templateUrl; ?&gt;/css/template.css&quot; media=&quot;screen&quot; /&gt;
&lt;!--[if IE 6]&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $templateUrl; ?&gt;/css/template.ie6.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;&lt;![endif]--&gt;
&lt;!--[if IE 7]&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php echo $templateUrl; ?&gt;/css/template.ie7.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;&lt;![endif]--&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $templateUrl; ?&gt;/script.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;art-page-background-gradient&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;art-main&quot;&gt;
&lt;div class=&quot;art-sheet&quot;&gt;
&lt;div class=&quot;art-sheet-tl&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;art-sheet-tr&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;art-sheet-bl&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;art-sheet-br&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;art-sheet-tc&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;art-sheet-bc&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;art-sheet-cl&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;art-sheet-cr&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;art-sheet-cc&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;art-sheet-body&quot;&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;user3&quot; /&gt;
&lt;div class=&quot;art-header&quot;&gt;
&lt;div class=&quot;art-header-jpeg&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $templateUrl; ?&gt;/swfobject.js&quot;&gt;&lt;/script&gt;
&lt;div id=&quot;art-flash-area&quot;&gt;
&lt;div id=&quot;art-flash-container&quot;&gt;
&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; width=&quot;900&quot; height=&quot;225&quot; id=&quot;art-flash-object&quot;&gt;
&lt;param name=&quot;movie&quot; value=&quot;&lt;?php echo $templateUrl; ?&gt;/images/flash.swf&quot; /&gt;
&lt;param name=&quot;quality&quot; value=&quot;high&quot; /&gt;
&lt;param name=&quot;scale&quot; value=&quot;exactfit&quot; /&gt;
&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;
&lt;param name=&quot;flashvars&quot; value=&quot;color1=0xFFFFFF&amp;amp;alpha1=.30&amp;amp;framerat e1=24&quot; /&gt;
&lt;param name=&quot;swfliveconnect&quot; value=&quot;true&quot; /&gt;
&lt;!--[if !IE]&gt;--&gt;
&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;&lt;?php echo $templateUrl; ?&gt;/images/flash.swf&quot; width=&quot;900&quot; height=&quot;225&quot;&gt;
&lt;param name=&quot;quality&quot; value=&quot;high&quot; /&gt;
&lt;param name=&quot;scale&quot; value=&quot;exactfit&quot; /&gt;
&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;
&lt;param name=&quot;flashvars&quot; value=&quot;color1=0xFFFFFF&amp;amp;alpha1=.30&amp;amp;framerat e1=24&quot; /&gt;
&lt;param name=&quot;swfliveconnect&quot; value=&quot;true&quot; /&gt;
&lt;!--&lt;![endif]--&gt;
&lt;div class=&quot;art-flash-alt&quot;&gt;&lt;a href=&quot;<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> src=&quot;<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> alt=&quot;Get Adobe Flash player&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;!--[if !IE]&gt;--&gt;
&lt;/object&gt;
&lt;!--&lt;![endif]--&gt;
&lt;/object&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;swfobject.switchOffAutoHideShow();swfo bject.registerObject(&quot;art-flash-object&quot;, &quot;9.0.0&quot;, &quot;&lt;?php echo $templateUrl; ?&gt;/expressInstall.swf&quot;);&lt;/script&gt;
&lt;div class=&quot;art-logo&quot;&gt;
&lt;h1 id=&quot;name-text&quot; class=&quot;art-logo-name&quot;&gt;&lt;a href=&quot;&lt;?php echo $baseUrl; ?&gt;/&quot;&gt;Green&lt;/a&gt;&lt;/h1&gt;
&lt;div id=&quot;slogan-text&quot; class=&quot;art-logo-text&quot;&gt;Operations&lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;banner1&quot; style=&quot;artstyle&quot; artstyle=&quot;art-nostyle&quot; /&gt;
&lt;?php echo artxPositions($document, array(&#039;top1&#039;, &#039;top2&#039;, &#039;top3&#039;), &#039;art-block&#039;); ?&gt;
&lt;div class=&quot;art-content-layout&quot;&gt;
&lt;div class=&quot;art-content-layout-row&quot;&gt;
&lt;?php if (artxCountModules($document, &#039;left&#039;)) : ?&gt;
&lt;div class=&quot;art-layout-cell art-sidebar1&quot;&gt;&lt;?php echo artxModules($document, &#039;left&#039;, &#039;art-block&#039;); ?&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;div class=&quot;art-layout-cell art-&lt;?php echo artxCountModules($document, &#039;left&#039;) ? &#039;content&#039; : &#039;content-wide&#039;; ?&gt;&quot;&gt;

&lt;?php
echo artxModules($document, &#039;banner2&#039;, &#039;art-nostyle&#039;);
if (artxCountModules($document, &#039;breadcrumb&#039;))
echo artxPost(null, artxModules($document, &#039;breadcrumb&#039;));
echo artxPositions($document, array(&#039;user1&#039;, &#039;user2&#039;), &#039;art-article&#039;);
echo artxModules($document, &#039;banner3&#039;, &#039;art-nostyle&#039;);
?&gt;
&lt;?php if (artxHasMessages()) : ?&gt;&lt;div class=&quot;art-post&quot;&gt;
&lt;div class=&quot;art-post-body&quot;&gt;
&lt;div class=&quot;art-post-inner&quot;&gt;
&lt;div class=&quot;art-postcontent&quot;&gt;
&lt;!-- article-content --&gt;

&lt;jdoc:include type=&quot;message&quot; /&gt;

&lt;!-- /article-content --&gt;
&lt;/div&gt;
&lt;div class=&quot;cleared&quot;&gt;&lt;/div&gt;

&lt;/div&gt;

&lt;div class=&quot;cleared&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;?php endif; ?&gt;
&lt;jdoc:include type=&quot;component&quot; /&gt;
&lt;?php echo artxModules($document, &#039;banner4&#039;, &#039;art-nostyle&#039;); ?&gt;
&lt;?php echo artxPositions($document, array(&#039;user4&#039;, &#039;user5&#039;), &#039;art-article&#039;); ?&gt;
&lt;?php echo artxModules($document, &#039;banner5&#039;, &#039;art-nostyle&#039;); ?&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;cleared&quot;&gt;&lt;/div&gt;

&lt;?php echo artxPositions($document, array(&#039;bottom1&#039;, &#039;bottom2&#039;, &#039;bottom3&#039;), &#039;art-block&#039;); ?&gt;
&lt;jdoc:include type=&quot;modules&quot; name=&quot;banner6&quot; style=&quot;artstyle&quot; artstyle=&quot;art-nostyle&quot; /&gt;
&lt;div class=&quot;art-footer&quot;&gt;
&lt;div class=&quot;art-footer-inner&quot;&gt;
&lt;?php echo artxModules($document, &#039;syndicate&#039;); ?&gt;
&lt;div class=&quot;art-footer-text&quot;&gt;
&lt;?php if (artxCountModules($document, &#039;copyright&#039;) == 0): ?&gt;
&lt;p&gt;Copyright &amp;copy; 2010&lt;br /&gt;
All Rights Reserved&lt;/p&gt;

&lt;?php else: ?&gt;
&lt;?php echo artxModules($document, &#039;copyright&#039;, &#039;art-nostyle&#039;); ?&gt;
&lt;?php endif; ?&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;art-footer-background&quot;&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div class=&quot;cleared&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;cleared&quot;&gt;&lt;/div&gt;
&lt;p class=&quot;art-page-footer&quot;&gt;Translate By : &lt;a href=&quot;<b><font color=red>فقط کاربران عضو انجمن می توانند لینک ها را مشاهده کنند</font></b> target=&quot;_blank&quot;&gt;Meisam Heidarzadeh | HOTFA.iR &lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;

خواهش میکنم راهنمایی فرمایید.

zibafar
08-23-2010, 01:23 PM
سلام دوستان
یه فلیل swf رو چطوری تو سایتم اضافه کنم

نوید
08-24-2010, 03:44 AM
سلام
برای اضافه گکردن فلش در ویرایشگر از کد زیر بهره ببرید:

&lt;object width=&quot;550&quot; height=&quot;400&quot;&gt;
&lt;param name=&quot;movie&quot; value=&quot;somefilename.swf&quot;&gt;
&lt;embed src=&quot;somefilename.swf&quot; width=&quot;550&quot; height=&quot;400&quot;&gt;
&lt;/embed&gt;
&lt;/object&gt;
موفق باشید

zibafar
08-24-2010, 02:04 PM
دوست عزیز من این کد رو در بین کدهای index.php فولدر template سایتم می ذارم و آدرس هم درست میدم اما متأسفانه فقط یه کادر سفید به اندازه width=&quot;550&quot; height=&quot;400&quot; میاره و خود swf رو نمایش نمیدهد
خواهش میکنم راهنمایی نمایید

erwin
08-24-2010, 06:14 PM
سلام
از کد زیر استفاده نمایید:

&lt;p&gt;
&lt;object id=&quot;flash1&quot; data=&quot;somefilename.swf&quot; style=&quot;width: 550px; height: 400px&quot; type=&quot;application/x-shockwave-flash&quot;&gt;
&lt;param name=&quot;movie&quot; value=&quot;somefilename.swf&quot; /&gt;
&lt;/object&gt;
&lt;/p&gt;

مشکلی که تصویر نشون داده نمی شه اینه که مسیر آدرس دهی شما اشتباه هستش.
لطفا به جای کلمات somefilename.swf آدرس اصلی فایل رو وارد نمایید و یا لینک مستقیم آنرا وارد نمایید.