''); $fldArray = array("link_id" => $id); $orderArray=array(); $orderType=''; $arr=dataSelect($table,$dataArray,$fldArray,$extra="",$orderArray,$orderType); $link_status=$arr[0]['link_status']; $link_last_modified=$arr[0]['link_last_modified']; $link_title=$arr[0]['link_title']; $link_content=$arr[0]['link_content']; $link_status=$arr[0]['link_status']; $link_category=$arr[0]['link_category']; $link_image=$arr[0]['link_image']; if($_POST['submit']=='Save') { $table=TABLE_LINK; $hidden_link_id=$_REQUEST['hidden_link_id']; $link_status=trim(strip_tags($_POST['link_status'],ENT_QUOTES)); $link_last_modified=DATETIME; $link_title=trim(strip_tags($_POST['link_title'],ENT_QUOTES)); $link_content=dataPrepare($_REQUEST['link_content']); $link_category=dataPrepare($_REQUEST['link_category']); $link_stat=trim(strip_tags($_POST['link_status'],ENT_QUOTES)); if($link_status==''){ $link_status='Active'; }else{ $link_status=$link_stat; } $dataArray = array("link_category"=>$link_category,"link_status"=>$link_status,"link_last_modified"=>$link_last_modified,"link_title"=>$link_title,"link_content"=>$link_content,"link_status"=>$link_status); if($link_title!='' && $link_content!='' && $link_category!=''){ /*Edit*/ if($hidden_link_id!=''){ $fldArray = array("link_id" => $hidden_link_id); dataUpdate($table,$dataArray,$fldArray); redirect('show_link.php'); } }else{ if($link_content=='') { $error=NO_DESC; } if($link_title=='') { $error=NO_TITLE; } if($link_category=='') { $error='Please Select A Category.'; } } } ?>
Edit Link
Date Time
Sub category ''); $fldArray_select = array("page_parent" =>'7'); $orderArray_select=array(); $orderType_select=''; $arr_select=dataSelect($table_select,$dataArray_select,$fldArray_select,$extra_select="",$orderArray_select,$orderType_select); ?>
Link (Example :www.domainname.com/)
Description show(); ?>
 
Status