0) { //$sub_folder=getCompleteCategoryPath($categories_id); } $Image_Dir = DIR_WS_CLASSIFIED_IMAGE.$sub_folder; $img_logo_name = $Image_Dir . $img_logo; $img1_name = $Image_Dir . $img1; $img2_name = $Image_Dir . $img2; $img3_name = $Image_Dir . $img3; //main image and Thumb Image if(file_exists($_FILES['img_logo']['tmp_name'])){ if(move_uploaded_file($_FILES['img_logo']['tmp_name'], $img_logo_name)){ //////Create MAIN Image///////////////////// create_image_resize($img_logo_name , $Image_Dir, LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT); } } if(file_exists($_FILES['img1']['tmp_name'])){ if(move_uploaded_file($_FILES['img1']['tmp_name'], $img1_name)){ //////Create MAIN Image///////////////////// create_image_resize($img1_name , $Image_Dir, LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT); } } if(file_exists($_FILES['img2']['tmp_name'])){ if(move_uploaded_file($_FILES['img2']['tmp_name'], $img2_name)){ //////Create MAIN Image///////////////////// create_image_resize($img2_name , $Image_Dir, LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT); } } if(file_exists($_FILES['img3']['tmp_name'])){ if(move_uploaded_file($_FILES['img3']['tmp_name'], $img3_name)){ //////Create MAIN Image///////////////////// create_image_resize($img3_name , $Image_Dir, LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT); } } $customers_id = $_SESSION['sess_customers_id']; $sql_insert_classified = "INSERT INTO tbl_classified (classified_id, customers_id, title, description, keywords, name, phone, mobile, fax, address, state_id, city_id, pin, img_logo, img1, img2, img3, status, price, website, package, date_add, exp_month, date_expiry, emailid, activity, conditions, sort_order,title_url) VALUES(null, '$customers_id', '$title', '$description', '$keywords', '$name', '$phone', '$mobile', '$fax', '$address', '$state_id', '$city_id', '$pin', '$img_logo', '$img1', '$img2', '$img3', '0', '$price', '$website', '1', '$date_add', '$exp_month', $exp_date, '$emailid', '$activity', '$conditions', '$sort_order','$title_url')"; mysql_query($sql_insert_classified) or die(DB_QUERY_ERROR.mysql_error()); $categories_id=$_POST['categories_id']; $inserted_id=mysql_insert_id(); if($_SESSION['sess_order_id']>0) { $sql_update_orders = "UPDATE tbl_orders SET classified_id='$inserted_id' WHERE orders_id = '".$_SESSION['sess_order_id']."'"; mysql_query($sql_update_orders) or die(DB_QUERY_ERROR.mysql_error()); } for($cctr=0;$cctr0) { $max_allowed=15; } else { $max_allowed=1; } ?> TITLE, <?echo $default_keywords;?>
Join Now: Post Travel Catalog | Advertise Travel Packages | Become Partner
Members: LOGIN
Travel Agent/Package Search :
scientific-deals-indiapushpaktowersI Viaggi in India, Nepal, Tibet e Bhutan - Viaggi in Rajasthan, Viaggi in Ladakh, Viaggi in India del Nord e del Sud, Orissa, Kerala e Ayurveda, Viaggi particolari e Hotels in India, Viaggi, Viaggi in Tibet, Viaggi in Bhutan. Viaggio Agenzia India
0){?>
Add Classified Details
Classified Details    * Mandatory Information
Category
Title *
Description *
Keywords
Logo
Contact Person
Phone
Mobile
Fax
Address
State *