Jump to content

masrawy

Members
  • Content Count

    244
  • Joined

  • Last visited

Everything posted by masrawy

  1. can i give you sir the cpanel for the site to see it plz this script is important to me plz help me
  2. i think the probelm in main.php file sir
  3. <?include_once "http://$_SERVER[HTTP_HOST]$dir/conn.php";$sbs = "select * from job_banners_m";$rsbs = mysql_query($sbs) or die(mysql_error());$abs = mysql_fetch_array($rsbs);$bs = $abs[0];if ($bs == 1){ $q1 = "select * from job_banners_t order by rand() limit 0,1"; $r1 = mysql_query($q1) or die (mysql_error()); $asb = mysql_fetch_array($r1); echo "<a href=\"$asb[burl]\" target=_blank alt=\"$asb[alt]\"><img src=\"http://$_SERVER[HTTP_HOST]$dir/banners/$asb[fn]\" border=0></a>"; }elseif($bs == 2){ $bc = "select * from job_link_source order by rand() limit 0,1"; $rbc = mysql_query($bc) or die(mysql_error()); if (mysql_num_rows($rbc) > 0) { $asl = mysql_fetch_array($rbc); $link_code = $asl[link_code]; echo $link_code; }}?>
  4. i add this error_reporting(E_ALL);ini_set('display_errors', 1);to index.phpmain.phpand the same problemnot work
  5. hi sirMake sure that banners.php is available.it is foundAnd also, you should start your PHP blocks with <?php i did till no nothing work sir plz help
  6. this is main.php<?include_once "conn.php";$day = date(d);$month = date(m);$year = date(Y); $qdel1 = "select * from job_post";$rdel1 = mysql_query($qdel1) or die(mysql_error());if(mysql_num_rows($rdel1) > '0'){ while($adel1 = mysql_fetch_array($rdel1)) { $my_date = mktime(0,0,0,$adel1[EXmonth], $adel1[EXday], $adel1[EXyear]); if($my_date <= time()) { $MyIDs[] = $adel1[job_id]; } } if(!empty($MyIDs)) { $NewID = implode("', '", $MyIDs); mysql_query("delete from job_post where job_id in ('$NewID') ") or die(mysql_error()); }}?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>التوظيف العربى</title><meta dcb license S3YBSI9IQ><meta name="description" content=""><meta name="keywords" content=""><meta http-equiv="Content-Type" content="text/html; charset=windows-1256"><meta name="language" content="EN"><meta name="robots" content="index,follow"><meta name="revisit-after" content="15 days"><meta name="document-classification" content="Internet"><meta name="document-type" content="Public"><meta name="document-rating" content="Safe for Kids"><meta name="document-distribution" content="Global"><link href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/style.css" rel="stylesheet" type="text/css"><script LANGUAGE="JavaScript">function other_win(url) { window.open(url, "MyWin", "toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=yes,width=600,height=400,left = 100,top = 50");}function image_over(image_name){var a = document.all(image_name);a.src = "http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/" + image_name + "_a.gif"}function image_out(image_name){var a = document.all(image_name);a.src = "http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/" + image_name + ".gif"}function cdel(w) { if(confirm('Are you sure you want to delete this '+w+'?')) { return true; } else { return false; }}</script><html dir="rtl"></head><body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><table border="0" cellpadding="0" cellspacing="0" width="770" align="center"> <tr><td background="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/headerbg.jpg" colspan="2" height="126" style="padding-top:45px;"><table border="0" cellpadding="0" cellspacing="0" width="770"><tr valign="top"> <td width="300"> <table width="100%" border="0"> <tr> <td width="50"> </td> <td width="64"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/logo.gif" width="64" height="48" border="0"></td> <td><font face="Arial, Helvetica, sans-serif" size="3" color="#000000"><b><font size="2" color="#FFFFFF">Job Finder</font><font color="#FFFFFF"><br> <font size="2">your_url.com/</font></font></b></font> </td> </tr> </table> </td> <td width="470" style="padding-right:3px" align=center> <? include_once "banners.php";?> </td></tr></table></td></tr><tr><td width="100"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/pic01.jpg" width="100" height="24" border="0"></td><td width="670" background="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_bg.gif" align="center"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_home_a.gif" alt="Home" width="33" height="15" border="0" vspace="4" hspace="20"></a><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_line.gif" width="3" height="24" border="0"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/build_resume.php"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_postresume.gif" alt="Post Resume" name="menu_postresume" id="menu_postresume" width="75" height="15" border="0" onMouseOver="image_over('menu_postresume')" onMouseOut="image_out('menu_postresume')" vspace="4" hspace="20"></a><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_line.gif" width="3" height="24" border="0"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/PostJob.php"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_postjob.gif" alt="Post Job" name="menu_postjob" id="menu_postjob" width="51" height="15" border="0" onMouseOver="image_over('menu_postjob')" onMouseOut="image_out('menu_postjob')" vspace="4" hspace="20"></a><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_line.gif" width="3" height="24" border="0"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/about.php"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_aboutus.gif" alt="About Us" name="menu_aboutus" id="menu_aboutus" width="59" height="15" border="0" onMouseOver="image_over('menu_aboutus')" onMouseOut="image_out('menu_aboutus')" vspace="4" hspace="20"></a><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_line.gif" width="3" height="24" border="0"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/contactus.php"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_contacts.gif" alt="Contacts" name="menu_contacts" id="menu_contacts" width="61" height="15" border="0" onMouseOver="image_over('menu_contacts')" onMouseOut="image_out('menu_contacts')" vspace="4" hspace="20"></a><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_line.gif" width="3" height="24" border="0"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/privacy.php"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/menu_privacy.gif" alt="Privacy Terms" name="menu_privacy" id="menu_privacy" width="85" height="15" border="0" onMouseOver="image_over('menu_privacy')" onMouseOut="image_out('menu_privacy')" vspace="4" hspace="20"></a></td></tr></table><table border="0" cellpadding="0" cellspacing="0" width="770" align="center"><tr valign="top"><td width="180" bgcolor="#8BD0DF"><br><!-- Jobseekers --><table border="0" cellpadding="0" cellspacing="0" width="167" align="center" background="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/box_bg.gif"><tr><td colspan="2"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/box_jobseekers.gif" width="167" height="21" alt="Jobseekers" border="0"></td></tr><tr><td colspan="2"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/clear.gif" width="1" height="5" border="0"></td></tr><?if(empty($_SESSION[uname])){?><tr> <td width="27" align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td width="140"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/jobseeker_registration.php"> تسجيل باحث عن وظيفة</a></td></tr><?}?><tr> <td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/build_resume.php">ارسال سيرتك الذاتية</a></td></tr><tr> <td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/ER1.php">تحرير السيرة الذاتية</a></td></tr><tr> <td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/preview.php">عرض السيرة الذاتية</a></td></tr><tr> <td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/JobSearch.php">بحث عن وظائف</a></td></tr><?if(!empty($_SESSION[uname])){?><tr> <td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/logout.php">تسجيل خروج</a></td></tr><?}?><tr><td colspan="2" background="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/box_b.gif" height="30"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/build_resume.php"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/button_postaresume.gif" width="107" height="18" alt="Post a Resume" border="0" hspace="13"></a></td></tr></table><br><!-- Employers --><table border="0" cellpadding="0" cellspacing="0" width="167" align="center" background="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/box_bg.gif"><tr><td colspan="2"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/box_employers.gif" width="167" height="21" alt="Employers" border="0"></td></tr><tr><td colspan="2"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/clear.gif" width="1" height="5" border="0"></td></tr><?if(!empty($_SESSION[ename])){?> <tr> <td width="27" align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td width="140"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/EditInfo.php">معلومات صاحب العمل</a></td> </tr><?}else{?> <tr> <td width="27" align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td width="140"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/employer_registration.php"> تسجيل صاحب عمل</a></td> </tr><?}?><tr> <td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/PostJob.php">عرض وظيفة</a></td></tr><tr> <td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/managejobs.php">ادارة وظيفة</a></td></tr><tr> <td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/pay1.php">تحديث الخطة</a></td></tr><tr> <td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/EmployerSearch.php">بحث</a></td></tr><?if(!empty($_SESSION[ename])){?> <tr> <td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/logout.php">تسجيل خروج</a></td> </tr><?}?><tr><td colspan="2" background="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/box_b.gif" height="30"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/PostJob.php"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/button_postajob.gif" width="107" height="18" alt="Post a Job" border="0" hspace="13"></a></td></tr></table><br><!-- Resources --><table border="0" cellpadding="0" cellspacing="0" width="167" align="center" background="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/box_bg.gif"><tr><td colspan="2"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/box_resources.gif" width="167" height="21" alt="Resources" border="0"></td></tr><tr><td colspan="2"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/clear.gif" width="1" height="5" border="0"></td></tr><tr><td width="27" align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td><td width="140"><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/faq.php">تساؤلات</a></td></tr><tr><td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td><td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/stories.php">قصة نجاح</a></td></tr><tr><td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td><td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/about.php">نبذة عنا</a></td></tr><tr><td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td><td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/contactus.php">اتصل بنا</a></td></tr><tr> <td align="right"><img src="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/bullet.gif" width="9" height="9" border="0" hspace="5"></td> <td><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/privacy.php">سياسة السرية</a></td></tr><?=show_counters($aset[counters]);?><tr><td colspan="2" background="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/images/box_b2.gif" height="20"> </td></tr></table><br><br></td><td width="590"><!-- Center -->
  7. this is index.php<?include_once "conn.php";include_once "main.php";$q1 = "select * from job_story order by rand()";$r1 = mysql_query($q1) or die(mysql_error());if(mysql_num_rows($r1) > '0'){ $a1 = mysql_fetch_array($r1); $st = $a1[story];}?><html dir="rtl"> <table border="0" cellpadding="0" cellspacing="0" width="590" height="160"> <tr valign="top"> <td width="50%" style="padding:15px;"> <p><img src="images/title_jobseekers.gif" width="104" height="22" alt="Jobseekers" border="0"></p> <p><span class="headingcat"><b><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/JobSearch.php">بحث عن وظيفة</a></b></span> <br> عرض جميع الوظائف مجانا <br> <br> <span class="headingcat"><b><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/jobseeker_registration.php">اشترك الان مجانا</a></b></span> <br> التسجيل للاشتراك فى جميع الخدمات <br> <br> <span class="headingcat"><b><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/jobseekers/build_resume.php">ارسال سيرتك الذاتية</a></b></span> <br> اوصف شخصيتك.. وظيفتك الخ ..... </p> </td> <td width="50%" style="padding:15px;"> <p><img src="images/title_employers.gif" width="100" height="23" alt="Employers" border="0"> </p> <p><span class="headingcat"><b><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/EmployerSearch.php">البحث عن موظفين</a></b></span> <br> تصفح كل المتقدمين مجانا <br> <br> <span class="headingcat"><b><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/employer_registration.php">اشترك هنا</a></b></span> <br> التسجيل للاشتراك فى جميع الخدمات <br> <br> <span class="headingcat"><b><a href="http://<?=$_SERVER[HTTP_HOST]?><?=$dir?>/employers/employer_registration.php">عرض وظيفة</a></b></span> <br> الخطوة الاولى لايجاد الموظفين </p> </td> </tr> </table><table border="0" cellpadding="0" cellspacing="0" width="590"><tr><td colspan="2" style="padding-left:15px;"><img src="images/title_successstory.gif" width="133" height="21" alt="Success Story" border="0" vspace="5"></td></tr><tr valign="top"><td width="220" style="padding-left:15px;"><img src="images/pic.jpg" width="207" height="175" border="0"></td><td width="370"> <?if($a1 != '0'){?> <script language="JavaScript1.2">var it=0function initialize(){mytext=typing.innerTextvar myheight=typing.offsetHeighttyping.innerText=''document.all.typing.style.height=myheightdocument.all.typing.style.visibility="visible"typeit()}function typeit(){typing.insertAdjacentText("beforeEnd",mytext.charAt(it))if (it<mytext.length-1){it++setTimeout("typeit()",100)}elsereturn}if (document.all)document.body.onload=initialize</script> <small><span id="typing" style="visibility:hidden" align="left"> <?=$st?> </span></small> <br> <?}?> <div align="center"><b><a class=TN href=add_story.php> قصة نجاحك هنا...</a></b> </div></td></tr></table><!-- Center --><? include_once('footer.php'); ?>
  8. it is work good sir in local server this is copy of the scripthttp://scripts.smmms.net/jobs.rar
  9. this scriptwork very good in local server when i try in site not work any help ?http://scripts.smmms.net/job/
  10. masrawy

    Wrong Code

    i make this code to upload photoif($action == "insert_addfs"){ fun_block_open("590","100%","$col2","$col2","");if ($memberid == ""){ echo "<center> عذراً هذه الخدمة خاصة بالأعضاء فقط<br><a href=index.php?action=submit>التسجيل معنا<a></center>";}if ($memberid != ""){if (file_exists("uploads/")) {} else{mkdir("");} $path = "uploads/";$max_size = 20000000;$RegDate = date("j_n_Y_");$t = rand(0, 9000000000);$myname = "smmms";$ext = array_pop(explode('.', $_FILES['fs_photo']['name'])); $Name = "$RegDate$myname$t$ext";########### Uploadif (!isset($_FILES['fs_photo'])) exit(exit1);if (is_uploaded_file($_FILES['fs_photo']['tmp_name'])) {if ($_FILES['fs_photo']['size']>$max_size) { echo "حجم الملف كبير جدا\n";}if (file_exists($path . $Name)) {echo "اسم الصورة موجود مسبقا يرجي تغيير اسم الصورة وارسالها\n"; exit;}$res = move_uploaded_file($_FILES['s_photo']['tmp_name'], dirname(__FILE__) . DIRECTORY_SEPARATOR . $path . $Name);echo $path . $Name;if (!$res) { echo "فشل تحميل الصورة<br>\n";}$fs_photo=$Name;}$today_date = date ("Y-n-j");$f_time=strtotime($today_date);$ff=$f_time + (60*60*24*30*6);$f7=date('Y-n-j', $ff); $INSERTVALUES = mysql_query("INSERT INTO forum_subjects VALUES ('','$memberid','$scountry','$fs_name','$fs_photo','$fs_disc','$today_date','$f7','$time_now','1','0')"); $as7_select = mysql_query ("SELECT * from forum_subjects where fs_name='$fs_name' and active='1'"); while ($Row=mysql_fetch_array($as7_select)) { $fs_id = $Row [id]; } if($INSERTVALUES){echo "<center><font color=#339966><b>لقد تم إضافة موضوعك في منتدى $sitetitle بنجاح. رقم موضوعك هو <a href=index.php?action=forum_disc&forumid=$fs_id><span lang=ar-eg>$fs_id</span></a> ويمكنك الدخول إلى موضوعك مباشرة عن طريق الرابط التالي:<br><br> <a href=index.php?action=forum_disc&forumid=$fs_id><span lang=ar-eg>www.$siteurl/index.php?action=forum_disc&forumid=$fs_id</span></a></b></font></center>";echo "<br>-يستمر موضوعك منشوراً في منتدى $sitetitle ما دام الموضوع نشطاً. حيث سيحذف الموضوع آلياً إذا لم يُضاف عليه رد، لمدة ستة أشهر .";echo "<br>-يمكنك تحديث أو حذف موضوعك عن طريق صفحة <a href=index.php?action=ufs_ufs&mem_id=$memberid><span lang=ar-eg>مواضيعك</span></a> في إدارتك، خلال الساعة الأولى فقط بعد إضافته";echo "<br>-تترتب المواضيع في أقسامها حسب وقت وتاريخ إضافتها أو آخر رد أضيف عليها.";echo "<br><br>-شكراً لمشاركتك في منتدى $sitetitle"; } else{echo $Msg['add_failed'];}} fun_block_close();} i make every thing ok make dir writable but told me the photo is not uploaded
  11. i did all you told me sir
  12. you mean put it in index.php ?or in replay_form.tpl
  13. i really don't know the way to do that onlly i found this code in one place and i put it to you sir
  14. ??????????????????????????
  15. this one in indexif ($action == "delete_subject") { $delete=mysql_query("DELETE from subject_replays WHERE id='$rep_id'"); if($delete){echo "تم الحذف بنجاح";} else {echo "هناك خطأ في عملية الحذف";}echo "<meta http-equiv=\"refresh\" content=\"2; URL=index.php?action=subject_disc&subjectid=$subjectid\">";}and this in repplay_form <br> <a href="index.php?action=delete_replly&rep_id=<? echo $rep_id; ?>&subjectid=<? echo $subjectid; ?>" ><span lang="ar-eg">حـــذف</span></a></td> </tr>
  16. i searsh in index fpr "$rep_id ="foundif ($action == "delete_subject") { $delete=mysql_query("DELETE from subject_replays WHERE id='$rep_id'"); if($delete){echo "تم الحذف بنجاح";} else {echo "هناك خطأ في عملية الحذف";}echo "<meta http-equiv=\"refresh\" content=\"2; URL=index.php?action=subject_disc&subjectid=$subjectid\">";}and this is for subjet ?
  17. i really try and i caan't do iti try all things
  18. i see that in index $ass11_select = mysql_query ("SELECT * from subject_replays where subject_id='$s_id' and active='1' order by id desc"); $countfs= mysql_num_rows($ass11_select); while ($Row41=mysql_fetch_array($ass11_select)) { $re_id = $Row41 [id]; $meme_id = $Row41 [mem_id]; $re_replay = $Row41 [replay]; $re_date = $Row41 [date];and this $as6_select = mysql_query ("SELECT * from subject_replays where subject_id='$sub_id' and active='1'"); $count= mysql_num_rows($as6_select);echo "<table width=95%><tr><td align=center bgcolor=#CFCFCF> الردود ($count) </td></tr></table>"; while ($Row1=mysql_fetch_array($as6_select)) { $r_id = $Row1 [id]; $s_id = $Row1 [subject_id]; $member_id = $Row1 [mem_id]; $replay = $Row1 [replay]; $date = $Row1 [date];i try $r_id for repllay but not work
×
×
  • Create New...