شیعة نیوز | الوكالة الشيعية للأنباء | Shia News Agency
سهشنبه ۰۷ بهمن ۱۳۹۹ -
۱۲ جمادی الثانی ۱۴۴۲
اتصل بنا
مواطن المراسل
LIVE
FA
الصفحه الرئیسة
السياسية
الاجتماعية
الحوزة و المرجعیة
الثقافية
مواطن المراسل
LIVE
FA
الصفحه الرئیسة
الصفحه الرئیسة
السياسية
الاجتماعية
الحوزة و المرجعیة
الثقافية
من نحن
اتصل بنا
الأرشیف
الروابط
الطقس
التصويت
البحث
نشرة خبریة
RSS
الصفحه الرئیسة
/
السياسية
0
ملف مصور/ عاشوراء حول العالم/ الجزء الثالث : نيجيريا ، تركيا
رمز الخبر:
1592
10:09 - 26 November 2012
SHIA-NEWS.COM شیعة نیوز :
شیعة نیوز: نيجيريا
تركيا.......
المصدر: براثا
رابط قصير:
shia-news.com/1000Pg
أبلغ عن مشكلة
۰
اعجبني
نشر تعليق
کلمات دلیلیة:
نيجيريا
تركيا
عاشوراء
شیعة نیوز
function isNameValid($name){ if(!empty($name)){ $pattern = "@^[a-zA-Z0-9\x{0621}-\x{063A}\x{0640}-\x{0691}\x{0698}-\x{06D2}\s]{3,150}+$@u"; return (preg_match($pattern, $name)); } else { return true; } } //------------------------------------------------------------------------------------ /* $Id: comments_form.php 2282 2010-09-15 10:02:03Z adel $ */ $formConfig = array('form_name'=>'comments','form_width'=>'220','label_width'=>'60', 'label_class_valid'=>'frm_label','label_class_invalid'=>'frm_invalid_label', 'lablesValign'=>'middle','lablesPositions'=>'v','element_space'=>'7', 'set_required_star'=>true,'form_error_message_class'=>'frm_error', 'localization'=>true, 'lang'=>$this->lang); // TODO: change form action $formAttributes = array('method'=>'POST', 'action'=>$formAction,'name'=>'comments','style'=>'display:inline;','id'=>'comm_form'); // TODO: make custum validation that empty is allowed bu if not empty should be in valid length and allowed chars $formElements[] = array( 'type' =>'String', 'attributes' => array('type' => 'text', 'name'=>'comment_name','class' => 'form-control', 'id' => 'com_name'), 'conf' => array('label' => 'Name','description_class'=>'frm_description', 'reset_element_value'=>false), 'validation' => array('custom'=>'isNameValid') ); $formElements[] = array( 'type' =>'String', 'attributes' => array('type' => 'text', 'name'=>'comment_mail','class' => 'form-control', 'dir'=>'ltr', 'id' => 'com_mail'), 'conf' => array('label' => 'Email','description_class'=>'frm_description','reset_element_value'=>false), 'validation' => array('mail'=>'yes') ); $formElements[] = array( 'type' =>'TextArea', 'attributes' => array('name' => 'comment_message','class' => 'form-control', 'rows'=>'6','value'=>'', 'id' => 'com_message'), 'conf' => array('label' => 'Comment','description_class'=>'frm_description', 'reset_element_value'=>false), 'validation' => array('required'=>'yes', ) ); $formElements[] = array( 'type' =>'String', 'attributes' => array('type' => 'text', 'name'=>'comment_captcha','class' => 'form-control', 'dir'=>'ltr', 'id' => 'com_captcha'), 'conf' => array('label' => '
','description_class'=>'frm_description','reset_element_value'=>true), 'validation' => array('required'=>'yes') ); $formElements[] = array( 'type' =>'String', 'attributes' => array('name'=>'submitbutt','type'=>'button','value' => gettext('Send'),'class'=>'btn btn-default' , 'onclick'=>'sendComment('.$cid.');return false;', 'id' => 'btn_comment'), 'conf' => array('label' => '') ); ?>
إرسال التعليقات
لن يتم نشر التعليقات التي تحتوي على عبارات مسيئة
{_form_lable_comment_name}
{_form_elemenet_comment_name}
{_form_lable_comment_mail}
{_form_elemenet_comment_mail}
{_form_elemenet_submitbutt}
{_form_lable_comment_message}
{_form_elemenet_comment_message}
{_form_elemenet_submitbutt}