checkCode($mysecnum,$_SESSION['checksum']))) { $hesk_error_buffer[]=$hesklang['sec_wrng']; } } } $name=hesk_input($_POST['name']) or $hesk_error_buffer[]=$hesklang['enter_your_name']; $email=hesk_validateEmail($_POST['email'],'ERR',0) or $hesk_error_buffer[]=$hesklang['enter_valid_email']; $category=hesk_input($_POST['category']) or $hesk_error_buffer[]=$hesklang['sel_app_cat']; $priority=hesk_input($_POST['priority']) or $hesk_error_buffer[]=$hesklang['sel_app_priority']; $subject=hesk_input($_POST['subject']) or $hesk_error_buffer[]=$hesklang['enter_ticket_subject']; $message=hesk_input($_POST['message']) or $hesk_error_buffer[]=$hesklang['enter_message']; /* Custom fields */ if ($hesk_settings['use_custom']) { foreach ($hesk_settings['custom_fields'] as $k=>$v) { if ($v['use']) { if ($v['req']) {$$k=hesk_input($_POST[$k]) or $hesk_error_buffer[]=$hesklang['fill_all'].': '.$v['name'];} else {$$k=hesk_input($_POST[$k]);} $_SESSION["c_$k"]=$_POST[$k]; } } } /* If we have any errors lets store info in session to avoid re-typing everything */ if (count($hesk_error_buffer)!=0) { $_SESSION['c_name'] = $_POST['name']; $_SESSION['c_email'] = $_POST['email']; $_SESSION['c_category'] = $_POST['category']; $_SESSION['c_priority'] = $_POST['priority']; $_SESSION['c_subject'] = $_POST['subject']; $_SESSION['c_message'] = $_POST['message']; $problem = '

'.$hesklang['submit_problems'].':

    '; foreach ($hesk_error_buffer as $error) { $problem .= "
  •   $error
  • \n"; } $problem .= '
'; hesk_error_contact($problem); } else { /* print_r($hesk_error_buffer); print_r($_SESSION); exit(); */ $message=hesk_makeURL($message); $message=nl2br($message); /* Generate tracking ID */ $useChars='AEUYBDGHJLMNPQRSTVWXZ123456789'; $trackingID = $useChars{mt_rand(0,29)}; for($i=1;$i<10;$i++) { $trackingID .= $useChars{mt_rand(0,29)}; } $trackingURL=$hesk_settings['hesk_url'].'/ticket.html?track='.$trackingID; /* Attachments */ if ($hesk_settings['attachments']['use']) { require_once('inc/attachments.inc.php'); $attachments = array(); for ($i=1;$i<=$hesk_settings['attachments']['max_number'];$i++) { $att = hesk_uploadFile($i); if (!empty($att)) { $attachments[$i] = $att; } } } $myattachments=''; /* Add to database */ require_once('inc/database.inc.php'); hesk_dbConnect() or hesk_error("$hesklang[cant_connect_db] $hesklang[contact_webmsater] $hesk_settings[webmaster_mail]!"); if ($hesk_settings['attachments']['use'] && !empty($attachments)) { foreach ($attachments as $myatt) { $sql = "INSERT INTO `hesk_attachments` (`ticket_id`,`saved_name`,`real_name`,`size`) VALUES ('$trackingID', '$myatt[saved_name]', '$myatt[real_name]', '$myatt[size]')"; $result = hesk_dbQuery($sql) or hesk_error("$hesklang[cant_sql]: $sql

$hesklang[mysql_said]:
".mysql_error()."

$hesklang[contact_webmsater] $hesk_settings[webmaster_mail]"); $myattachments .= hesk_dbInsertID() . '#' . $myatt['real_name'] .','; } } $sql = " INSERT INTO `hesk_tickets` ( `trackid`,`name`,`email`,`category`,`priority`,`subject`,`message`,`dt`,`lastchange`,`ip`,`status`,`attachments`,`custom1`,`custom2`,`custom3`,`custom4`,`custom5` ) VALUES ( '$trackingID','$name','$email','$category','$priority','$subject','$message',NOW(),NOW(),'$_SERVER[REMOTE_ADDR]','0','$myattachments','$custom1','$custom2','$custom3','$custom4','$custom5' ) "; $result = hesk_dbQuery($sql) or hesk_error("$hesklang[cant_sql]: $sql

$hesklang[mysql_said]:
".mysql_error()."

$hesklang[contact_webmsater] $hesk_settings[webmaster_mail]"); /* Get e-mail message for customer */ $fp=fopen('emails/'.$hesklang['lng_prefix'].'new_ticket.txt','r'); $message=fread($fp,filesize('emails/'.$hesklang['lng_prefix'].'new_ticket.txt')); fclose($fp); $message=str_replace('%%NAME%%',$name,$message); $message=str_replace('%%SUBJECT%%',$subject,$message); $message=str_replace('%%TRACK_ID%%',$trackingID,$message); $message=str_replace('%%TRACK_URL%%',$trackingURL,$message); $message=str_replace('%%SITE_TITLE%%',$hesk_settings['site_title'] ,$message); $message=str_replace('%%SITE_URL%%',$hesk_settings['site_url'] ,$message); /* Send e-mail */ $headers="From: $hesk_settings[noreply_mail]\n"; $headers.="Reply-to: $hesk_settings[noreply_mail]\n"; @mail($email,$hesklang['ticket_received'],$message,$headers); /* Need to notify any admins? */ $admins=array(); $sql = "SELECT `email`,`isadmin`,`categories` FROM `hesk_users` WHERE `notify`='1'"; $result = hesk_dbQuery($sql) or hesk_error("$hesklang[cant_sql]: $sql

$hesklang[mysql_said]:
".mysql_error()."

$hesklang[contact_webmsater] $hesk_settings[webmaster_mail]"); while ($myuser=hesk_dbFetchAssoc($result)) { /* Is this an administrator? */ if ($myuser['isadmin']) {$admins[]=$myuser['email']; continue;} /* Not admin, is he allowed this category? */ $cat=substr($myuser['categories'], 0, -1); $myuser['categories']=explode(',',$cat); if (in_array($category,$myuser['categories'])) { $admins[]=$myuser['email']; continue; } } if (count($admins)>0) { $trackingURL_admin=$hesk_settings['hesk_url'].'/admin_ticket.php?track='.$trackingID; /* Get e-mail message for customer */ $fp=fopen('emails/new_ticket_staff.txt','r'); $message=fread($fp,filesize('emails/new_ticket_staff.txt')); fclose($fp); $message=str_replace('%%NAME%%',$name,$message); $message=str_replace('%%SUBJECT%%',$subject,$message); $message=str_replace('%%TRACK_ID%%',$trackingID,$message); $message=str_replace('%%TRACK_URL%%',$trackingURL_admin,$message); $message=str_replace('%%SITE_TITLE%%',$hesk_settings['site_title'] ,$message); $message=str_replace('%%SITE_URL%%',$hesk_settings['site_url'] ,$message); /* Send e-mail to staff */ $email=implode(',',$admins); $headers="From: $hesk_settings[noreply_mail]\n"; $headers.="Reply-to: $hesk_settings[noreply_mail]\n"; @mail($email,$hesklang['new_ticket_submitted'],$message,$headers); } // End if ?>

 

 

'.$trackingID;?>

 

 

 

 

 

 

 

 

 
.

 
: *
: *
: *
: *
: *
: *
:
'; } ?> :
: Kb ( Mb)

 Security image

'. $hesklang['sec_enter'].':

'; } else { echo '

 
'; } ?>


  • .
  • .
  • Find and buy toyota park.Official site of the 2009 Jeep wrangler.Visit Subaru of America for reviews, pricing and photos of impreza.2006 Nissan 350Z highlights from Consumer Guide Automotive. Learn about the 2006 nissan 350z.Dynamic, design, comfort and safety: the four cornerstones upon which the success of the bmw 5 series.Find and buy toyota center kennewick.Contact: View company contact information fo protege.What does this mean for legacy.The website of American suzuki motorcycle.The site for all new 2009 chevy.Use the Organic natural food stores.Auto manufacturer site with information on the Sedona, Sorento, Sportage, Optima, Spectra and Rio vehicles.kia.Get more online information on hyundai getz.Find and buy used nissan 350z.Kia cars, commercial vehicles, dealers, news and history in Australia. kia com.Site for Ford's cars and minivans, trucks, and SUVs. Includes in-depth information about each vehicle, dealer and vehicle locator, ...fords dealers.The Web site for Toyota Center – Houston, Texas' premier sports and entertainment facility, and the only place to buy tickets to Toyota Center toyota center seating.Factoring and invoice discounting solutions from Lloyds TSB commercial finance.Read Fodor's reviews to find the best travel destinations, hotels and restaurants. Plan your trip online with Fodor's.travel guide.Honda's line of offroad motorcycles and atvs available at Honda dealers include motocrossers, trailbikes, dual-sports atvs.Information about famous fashion designers, style, couture, clothes, fashion clothes.Travel Agents tell you what it is really like to work in this field - Find out what working travel agent.Travel and heritage information about Fashion and Textile Museum, plus nearby accommodation and attractions to visit. Part of the Greater London Travel fashion.Get buying advice on the Mazda rx8

    lego island 2 walkthrough

    well worth

    estrellita mia telenovela

    continued exposure

    species hierarchical ladder genus

    of Nature in which

    house plans moroccan

    prostate milking

    list of foods containing fiber

    wine production

    snuffles for rabbits

    daily basis

    calendario ingrid coronado

    video games

    treceti batalioane romane carpatii

    daily basis

    scl 600 mercedes benz

    could ever

    hpproductassistant msi

    Patong Merlin

    lirik lagu cap apek

    over again

    jennings model t380

    long term

    pavel novotny movies

    sexual desire

    dinner card club

    birth control

    legacy audio drivers free

    sex drive

    teenage suicide rate graphs

    web page

    dinozaurs fanfiction

    way which identified

    olive garden berry sangria recipes

    new iPod

    natural lung cleanse recipe

    message board

    yugo 7 62x54 ammo

    name bio

    raw furniture houston texas

    preferential voting

    jija sali stories

    the Late Middle Ages

    chuch e cheeses methuen ma

    truck snow

    avery label 5351 template

    seven paragraph third shall

    milk junkies uncensored torrent

    marketing manager

    foul smelling burps

    get back

    craig s list sedalia

    completely nude

    cons and pros of cafta

    use the theme

    bull terrier cookie jar

    would like

    fluke and pin worms

    President Bill Clinton

    heartbreakers cabaret dickinson

    hundred miles

    who am i casting crowns lyrics

    wait until

    saylors old country kitchen portland or

    United States

    tv3 berita terkini

    take over

    wiring diagram garbage disposal

    San Francisco

    nordicware tea cake recipes

    couldnt hold

    recipe tamale casserole

    good quality

    craftsman ii 8 26 snow blower

    having sex

    scsi raid host controller driver problem

    get back

    morphibian remote car

    sisters pussy

    allen colmes wife

    web site

    leo constllation myths

    right now

    mla citing of bible

    Italian wines

    emulsified body butter recipe

    made love

    floating lanterns and thai

    stay away

    stock epithets in beowulf

    fingers around

    hinsdale new york haunted houses

    Los Angeles

    rt grimm electronics

    stay away

    regal cinema hazleton

    wedding invitations

    abortion clinics in ontario

    such cases

    felicia crowton playboy

    art auction

    chatelaine magazine recipes

    web site

    cross dressing movies xxx

    professional gambler

    stories tease and denial

    began fucking

    recipe for prison pruno

    poignant Violin Concerto

    mobile grooming greenwich ct

    seemed like

    ciao romania revista presei comert

    great deal

    replacement rollers pocket door

    grape varieties

    continental tower houston

    Mazda Motor

    server met

    include divide syllable felt

    define glucomannan

    long way

    recipes from ecuador

    Internet Marketing

    emachine sm buss controller

    came home

    charles parker vise

    heart disease

    female crucifixion stories

    should take

    bear claw stencil printable

    correspondence school

    loul deng

    could get

    oberon media enterpris

    Search Engine

    weimaraner vizsla cross

    Variety Access

    interac tv programming codes fisher price

    and A Hard Rain

    cece pennington

    uranium supplies

    dry rubs recipes for prime rib

    a person using economic

    winchester model 120 ranger shotgun

    would need

    hotel furniture liquidators of houston

    public schools

    ncfm exam sample papers

    Indigenous Australians

    bluetooth drivers broadcom bcm92045b3

    World Wide

    homemade concrete stain recipe

    a more thorough

    grappler baki manga torrent download

    arms around

    map quest london ontario

    said good

    the magnificence by estrella alfon

    range