shahmusic 27 ارسال شده در دی 93 گزارش بازنشر ارسال شده در دی 93 سلام یک مشکلی با این قالبم دارم ( مشکل فقط از قالب هستش با بقیه تست شده موردی نداشته )وقتی کسی تو مطلبی نظر میده من تایید که میکنم و وارد اون مطلب میشم اون نظر نیست ولی همون نظر میره تو یه پست دیگهیا مثلا پستی که اصلا نظری نداره پایین میری میبینی 6 تا نظر از تاریخ های خیلی گذشته داره در حالی که یدونشم درست نیستاین مشکل رو چجوری حل کنم ؟ادرس :http://www.4music.in/ نقل قول لینک به ارسال
SM-Mahdavi 5427 ارسال شده در دی 93 گزارش بازنشر ارسال شده در دی 93 سلاممحتوای single.php رو بزارید بررسی کنیم. نقل قول لینک به ارسال
shahmusic 27 ارسال شده در دی 93 مالک گزارش بازنشر ارسال شده در دی 93 <?php get_header(); ?><div id="warpper"><?php include(TEMPLATEPATH."/last-vip.php");?><a href="https://www.facebook.com/My4Music" rel="nofollow" target="_blank"><div class="fb2">بــرای حمایــت از مـا بــه هـواداران مـا در صفـحه فیـس بـوک فورموزیــک بـپیوندیــد</div></a><div class="content"> <div id="page-content"> <div class="two-box-warpper"> <div id="page-body"> <div class="page-body"> <div class="clear"></div><div class="sms">سامانه پیامکی سایت : 50002040301149</div><div class="mail">ایمیل پشتیبانی سایت : reza_2016@yahoo.com</div><?php include(TEMPLATEPATH."/ads/top-box.php");?><?php include(TEMPLATEPATH."/ads/banner.php");?><?php include(TEMPLATEPATH."/ads/top-box-2.php");?><?php if (have_posts()) : while (have_posts()) : the_post(); ?><div class="post" id="cat-<?php the_category_ID(); ?>" id="post-<?php the_ID(); ?>" > <div class="post-title"><h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>" ><div class="post-title-link"><?php the_title(); ?></div></a></h1><div class="like"><?php if(function_exists(getILikeThis)) getILikeThis('get'); ?></div></div><div class="content"><div class="content-tag">برچسب ها : <div class="tag-f"><h2><?php the_tags( "", " ", "" ); ?></h2></div></div><?php $tut_var = get_post_meta($post->ID, 'vip-t',true); if(isset($tut_var) && !empty($tut_var)) : ?><div class="vippp"></div><?php endif; ?><?php the_content(); ?><br /><center><g:plusone size="tall" href="<?php the_permalink(); ?>"></g:plusone></center></div><center><?php $tut_var = get_post_meta($post->ID, 'vip',true); if(isset($tut_var) && !empty($tut_var)) : ?><?php $tut_var = get_post_meta($post->ID, 'vip-dl',true); if(isset($tut_var) && !empty($tut_var)) : ?><div class="box-e2"><a href="<?php echo get_post_meta($post->ID, 'vip-dl',true); ?>"><b>دانلود با لینک مستقیم و سرعت بالا</b></a></div><?php endif; ?><?php $tut_var = get_post_meta($post->ID, 'vip-sub',true); if(isset($tut_var) && !empty($tut_var)) : ?><div class="box-e2"><a href="<?php echo get_post_meta($post->ID, 'vip-sub',true); ?>"><b>دانلود زیرنویس</b></a></div><?php endif; ?><div class="box-e">لینک دانلود مستقیم فقط ویژه کاربران ویژه سایت می باشد</div><a href="http://www.persianlords.ir/" rel="nofollow" target="_blank"><div class="Box-vip-r-b">برای عضویت در کاربران ویژه کلیک کنید</div></a><a href="http://www.persianlords.ir/help.php" rel="nofollow" target="_blank"><div class="Box-vip-r-b2">راهنمای عضویت و دانلود ویژه</div></a><br /><?php endif; ?>به ایـن مطلب امتیــاز دهیـد<br /><?php if(function_exists(getILikeThis)) getILikeThis('get'); ?></center><br /></center><?php $tut_var = get_post_meta($post->ID, 'play',true); if(isset($tut_var) && !empty($tut_var)) : ?><div class="Sin-Downloader"><div class="Sin-Downloader-right"><?php $tut_var = get_post_meta($post->ID, '320',true); if(isset($tut_var) && !empty($tut_var)) : ?><div class="Sin-Downloader-right-box"><div class="Sin-Downloader-right-box-t"><?php echo get_post_meta($post->ID, '320',true); ?></div><?php endif; ?><?php $tut_var = get_post_meta($post->ID, 'dl320',true); if(isset($tut_var) && !empty($tut_var)) : ?><a href="<?php echo get_post_meta($post->ID, 'dl320',true); ?>"><div class="Sin-Downloader-right-box-t2"><b>Download</b></div></a></div><?php endif; ?><?php $tut_var = get_post_meta($post->ID, '192',true); if(isset($tut_var) && !empty($tut_var)) : ?><div class="Sin-Downloader-right-box"><div class="Sin-Downloader-right-box-t"><?php echo get_post_meta($post->ID, '192',true); ?></div><?php endif; ?><?php $tut_var = get_post_meta($post->ID, 'dl192',true); if(isset($tut_var) && !empty($tut_var)) : ?><a href="<?php echo get_post_meta($post->ID, 'dl192',true); ?>"><div class="Sin-Downloader-right-box-t2"><b>Download</b></div></a></div><?php endif; ?><?php $tut_var = get_post_meta($post->ID, '128',true); if(isset($tut_var) && !empty($tut_var)) : ?><div class="Sin-Downloader-right-box"><div class="Sin-Downloader-right-box-t"><?php echo get_post_meta($post->ID, '128',true); ?></div><?php endif; ?><?php $tut_var = get_post_meta($post->ID, 'dl128',true); if(isset($tut_var) && !empty($tut_var)) : ?><a href="<?php echo get_post_meta($post->ID, 'dl128',true); ?>"><div class="Sin-Downloader-right-box-t2"><b>Download</b></div></a></div><?php endif; ?><?php $tut_var = get_post_meta($post->ID, '64',true); if(isset($tut_var) && !empty($tut_var)) : ?><div class="Sin-Downloader-right-box"><div class="Sin-Downloader-right-box-t"><?php echo get_post_meta($post->ID, '64',true); ?></div><?php endif; ?><?php $tut_var = get_post_meta($post->ID, 'dl64',true); if(isset($tut_var) && !empty($tut_var)) : ?><a href="<?php echo get_post_meta($post->ID, 'dl64',true); ?>"><div class="Sin-Downloader-right-box-t2"><b>Download</b></div></a></div><?php endif; ?></div><div class="Sin-Downloader-left"><div class="Sin-Downloader-left1"><?php $tut_var = get_post_meta($post->ID, 'play',true); if(isset($tut_var) && !empty($tut_var)) : ?><script type="text/javascript"> AudioPlayer.embed("player", {soundFile: "<?php echo get_post_meta($post->ID, 'play',true); ?>", transparentpagebg: "yes", autostart: "yes", titles: "<?php the_title(); ?>", loop: "no"}); </script> <object id="player" height="24" width="200" type="application/x-shockwave-flash" name="player" style="outline: none" data="http://4music.in/wp-content/themes/mah8/player_2.swf"> <param name="bgcolor" value="#FFFFFF"> <param name="wmode" value="transparent"> <param name="menu" value="false"> <param name="flashvars" value="soundFile=<?php echo get_post_meta($post->ID, 'play',true); ?>&autostart=no&titles=<?php the_title(); ?>&loop=no&playerID=player"> </object><?php endif; ?></div></div></div><center><button class="button" onclick="toggle_visibility('foo');">برای دریافت کد پخش آنلاین این موزیک برای وبلاگ و سایت شما کلیک کنید</button></center><div id="foo"><br>کد پخش آنلاین اول این موزیک برای وبلاگ و سایت شما که بلافاصله آهنگ پخش میشود<p><?php $tut_var = get_post_meta($post->ID, 'play',true); if(isset($tut_var) && !empty($tut_var)) : ?><textarea id="comment" style="font-family: amer,tahoma; font-size: 11px; border: 1px solid rgb(187, 187, 187); padding: 5px; width: 460px; height: 183px; text-align: left; direction: ltr; margin-top: 10px;" tabindex="4" rows="10" cols="50%" name="comment" width="490px" onclick="javascript:this.select();" readonly="readonly"><!-- Begin http://4music.in --> <script type="text/javascript"> AudioPlayer.embed("player", {soundFile: "<?php echo get_post_meta($post->ID, 'play',true); ?>", transparentpagebg: "yes", autostart: "yes", titles: "<?php the_title(); ?>", loop: "no"}); </script> <object id="player" height="24" width="210" type="application/x-shockwave-flash" name="player" style="outline: none" data="http://4music.in/wp-content/themes/mah8/player_2.swf"><param name="bgcolor" value="#FFFFFF"><param name="wmode" value="transparent"><param name="menu" value="false"><param name="flashvars" value="soundFile=<?php echo get_post_meta($post->ID, 'play',true); ?>&autostart=yes&titles=<?php the_title(); ?>&loop=no&playerID=player"></object> <h1 style="font-size:1px;color:#fff;width:1px;height:1px;"><a title="دانلود آهنگ جدید" href="http://4music.in/" target="_blank">دانلود آهنگ جدید</a></h1> <!-- End http://4music.in --> </textarea></p><?php endif; ?><br><br><div class="tag-link"> کد پخش آنلاین دوم این موزیک برای وبلاگ و سایت شما که باید روی پلی کلیک کنند </div><p><?php $tut_var = get_post_meta($post->ID, 'play',true); if(isset($tut_var) && !empty($tut_var)) : ?><textarea id="comment" style="font-family: amer,tahoma; font-size: 11px; border: 1px solid rgb(187, 187, 187); padding: 5px; width: 460px; height: 173px; text-align: left; direction: ltr; margin-top: 10px;" tabindex="4" rows="10" cols="50%" name="comment" width="490px" onclick="javascript:this.select();" readonly="readonly"><!-- Begin http://4music.in --> <script type="text/javascript"> AudioPlayer.embed("player", {soundFile: "<?php echo get_post_meta($post->ID, 'play',true); ?>", transparentpagebg: "yes", autostart: "yes", titles: "<?php the_title(); ?>", loop: "no"}); </script> <object id="player" height="24" width="190" type="application/x-shockwave-flash" name="player" style="outline: none" data="http://4music.in/wp-content/themes/mah8/player_2.swf"> <param name="bgcolor" value="#FFFFFF"> <param name="wmode" value="transparent"> <param name="menu" value="false"> <param name="flashvars" value="soundFile=<?php echo get_post_meta($post->ID, 'play',true); ?>&autostart=no&titles=<?php the_title(); ?>&loop=no&playerID=player"> </object> <h1 style="font-size:1px;color:#fff;width:1px;height:1px;"><a title="دانلود آهنگ جدید" href="http://4music.in/" target="_blank">دانلود آهنگ جدید</a></h1> <!-- End http://4music.in --> </textarea></p><?php endif; ?><br></div><?php endif; ?><div class="post-info"><ul> <li class="view"><?php if(function_exists('the_views')) { the_views(); } ?> </li> <li class="date"><?php the_time(__('F jS, Y','kubrick')) ?></li> <li class="categry"><?php the_category(__(', ','kubrick')) ?></li></ul><div class=clear></div></div><div class="post-footer"></div></div><div class="rss-sin"><div class="subs"><center><b>با وارد کردن ایمیل تان در کادر زیر جدیدترین های فورموزیک را روزانه در ایمیل خود دریافت کنید </b></center><form style="padding:3px;text-align:center;" action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=my4music', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><p> لطفا ایمیل تان را بدون www. وارد کنید</p><p><input type="text" style="width:230px" class="subs-i" name="email"/></p><input type="hidden" value="my4music" name="uri"/><input type="hidden" name="loc" value="en_US"/><input type="submit" class="subs-submit" value="ثبت ایمیل" /></form><center>نکته مهم : بعد از ثبـت ایمیـل به اکانت ایمیل خودتـون وارد بشیـد و ایمیـل ارسال شـده سایـت را تاییـد کنیـد</center></div></div><div class=leftsidebar><section class="newsbox3"> <div class="title"><h3>مطالب تصادفی</h3></div><ul><?php $posts = get_posts('orderby=rand&numberposts=10'); foreach($posts as $post) { ?><li><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li><?php } ?></ul></div><?php include(TEMPLATEPATH."/ads/footer-box.php");?> <div class="post"><div class="content"><?php comments_template(); ?></div></div> </div></div><?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.','kubrick'); ?></p><?php endif; ?><?php include(TEMPLATEPATH."/sbar-right.php");?> </div><?php include(TEMPLATEPATH."/sbar-left.php");?><?php include(TEMPLATEPATH."/footer.php");?>خدمت شمااین دو فایل هم به اسم comments.phpقرار دارند <?php // Do not delete these linesif (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!');if (!empty($post->post_password)) { // if there's a password if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie ?> <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.','kubrick'); ?></p> <?php return; }}/* This variable is for alternating comment background */$oddcomment = 'class="alt" ';?><!-- You can start editing here. --> <?php if ($comments) : ?> <h3> <div class="comment-head"><?php comments_number(__('بدون نظر','kubrick'), __('یک نظر','kubrick'), __('% نظر','kubrick') );?></div></h3> <div class="comment-list"> <ol> <?php foreach ($comments as $comment) : ?><li class="comments" <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>"><span class="post-top"></span><div class="comment-title"> <div class="name"><?php comment_author_link() ?> گفته است : </div> <div class="date"><?php comment_time(__('F jS, Y','kubrick')) ?></div></div><div class="comment-content"><div id="comment"><div style="width: 70px; float: right;"> <?php echo get_avatar( $comment, '58' ); ?></div><div style="width: 300px; float: right;"><?php comment_text() ?> <?php if ($comment->comment_approved == '0') : ?> <em><?php _e('نظر شما پس از تایید مدیر سایت به نمایش در می آید','kubrick'); ?></em> <?php endif; ?></div></div><div class="clear"></div></div><div class="comment-footer"></div></li> <?php /* Changes every other comment to a different class */ $oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';?><?php endforeach; /* end for each comment */ ?></ol></div><?php else : // this is displayed if there are no comments so far ?><?php if ('open' == $post->comment_status) : ?> <!-- If comments are open, but there are no comments. --> <?php else : // comments are closed ?> <!-- If comments are closed. --> <h3 class="comment-head">امکان ارسال نظر وجود ندارد</h3> </div><?php endif; ?><?php endif; ?> <?php if ('open' == $post->comment_status) : ?><div class="addcomment"><div class="comment" class="alt" id="comment-10438"><div id="title"><br /><br /></div><?php if ( get_option('comment_registration') && !$user_ID ) : ?><p><?php _e('You must be','kubrick'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>"><?php _e('logged in','kubrick'); ?></a> <?php _e('to post a comment.','kubrick'); ?></p><?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"><?php if ( $user_ID ) : ?><p><?php _e('وارد شده با نام کاربری :','kubrick'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account','kubrick'); ?>"><?php _e('[ خروج ]','kubrick'); ?> »</a></p><?php endif; ?><br /><div class="comment-content"><div id="comment"><div class="commentdata" > <label for="author">نام شما :</label> <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" tabindex="1" class="c-input" /> <div class="clear"></div><br> <label for="email">ایمیل :</label> <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" class="c-input" /> <div class="clear"></div><br> <label for="url">وب سایت :</label> <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" class="c-input" /><br> <br> <div> <label for="comment">متن و پیام شما : </label><textarea name="comment" id="text" tabindex="4"></textarea> </div><div class=clear></div><input type="submit" class="comment-submit" name="submit" id="submit" tabindex="5" value="<?php _e('ارسال دیدگـاه','kubrick'); ?>" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> <?php do_action('comment_form', $post->ID); ?></form></div></div><div class=clear></div></div><div class=comment-footer></div></div></div> <div class=clear></div> <!-- mshkok--><?php endif; // If registration required and not logged in ?><?php endif; // if you delete this the sky will fall on your head ?>کد دومی به اسم : comments2.php<?php // Do not delete these linesif (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!');if (!empty($post->post_password)) { // if there's a password if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie ?> <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.','kubrick'); ?></p> <?php return; }}/* This variable is for alternating comment background */$oddcomment = 'class="alt" ';?><!-- You can start editing here. --><div id="comments" class="commnet"><div id="yaapc-comments"> <?php if ($comments) : ?> <h2 class="comment-head"><?php comments_number(__('بدون نظر','kubrick'), __('یک نظر','kubrick'), __('% نظر','kubrick') );?></h2> <div class="comment-list"> <ol> <?php foreach ($comments as $comment) : ?><li class="comments" <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>"><span class="post-top"></span><div class="comment-title"> <div class="name"><?php comment_author() ?> گفته است : </div> <div class="date"><?php comment_time(__('F jS, Y','kubrick')) ?></div></div><div class="comment-content"><div id="comment"><div style="width: 100px; float: right;"><img width="96" height="96" class="avatar avatar-96 photo avatar-default" src="http://0.gravatar.com/avatar/?d=http://png.findicons.com/files/icons/703/artists_valley_sample/128/business_man_blue.png&s=96" alt=""> </div><div style="width: 300px; float: right;"><?php comment_text() ?> <?php if ($comment->comment_approved == '0') : ?> <em><?php _e('نظر شما پس از تایید مدیر سایت به نمایش در می آید','kubrick'); ?></em> <?php endif; ?></div></div><div class="clear"></div></div><div class="comment-footer"></div></li> <?php /* Changes every other comment to a different class */ $oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';?><?php endforeach; /* end for each comment */ ?></ol></div><?php else : // this is displayed if there are no comments so far ?><?php if ('open' == $post->comment_status) : ?> <!-- If comments are open, but there are no comments. --> <?php else : // comments are closed ?> <!-- If comments are closed. --> <h2 class="comment-head">امکان ارسال نظر وجود ندارد</h2> </div><?php endif; ?><?php endif; ?> <?php if ('open' == $post->comment_status) : ?><div class="addcomment"><div class="comment" class="alt" id="comment-10438"><div class="comment-title"><div id="title"><h2>ارسال نظر</h2></div></div><?php if ( get_option('comment_registration') && !$user_ID ) : ?><p><?php _e('You must be','kubrick'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>"><?php _e('logged in','kubrick'); ?></a> <?php _e('to post a comment.','kubrick'); ?></p><?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"><?php if ( $user_ID ) : ?><p><?php _e('Logged in as','kubrick'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account','kubrick'); ?>"><?php _e('Log out','kubrick'); ?> »</a></p><?php endif; ?><div class="comment-content"><div id="comment"><form action="http://www.funiha.com/wp-comments-post.php" method="post"><div class="commentdata" > <label for="author">نام شما :</label> <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" tabindex="1" class="c-input" /> <div class="clear"></div><br> <label for="email">ایمیل :</label> <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" class="c-input" /> <div class="clear"></div><br> <label for="url">وب سایت :</label> <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" class="c-input" /><br> <br> <div> <label for="comment">متن و پیام شما : </label><textarea name="comment" id="text" tabindex="4"></textarea> </div><div class=clear></div><input type="submit" name="submit" id="submit" tabindex="5" value="<?php _e('ارسال','kubrick'); ?>" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> <?php do_action('comment_form', $post->ID); ?></form></div></div><div class=clear></div></div><div class=comment-footer></div></div></div> <div class=clear></div> <!-- mshkok--><?php endif; // If registration required and not logged in ?><?php endif; // if you delete this the sky will fall on your head ?> نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .