<script type="text/javascript">top.stop_upload(<?php echo "0"; ?> );</script><?php exit; } ?> <script type="text/javascript">top.stop_upload(<?php echo "1"; ?> );</script><?php exit; } if ($_POST['action'] == 'get_cover_note') { $resume = new Resume($_POST['member'], $_POST['id']); $cover_note = $resume->get_cover_note(); $response = array('resume' => $cover_note); $responses[0]['cover_note'] = desanitize($responses[0]['cover_note']); header('Content-type: text/xml'); echo $xml_dom->get_xml_from_array($response); exit; } if ($_POST['action'] == 'save_cover_note') { $resume = null; $data = array(); $response = array(); $data['modified_on'] = now(); if ($_POST['id'] == "0") { $resume = new Resume($_POST['member']); //$data['private'] = $_POST['private']; $data['name'] = $_POST['name'];
echo $resume->get_cover_note(); } else { echo "failed"; exit; } echo "<br>"; ?> <b>Update the 1st resume...</b><br><br><?php $resume = new Resume($uid, $first_resume); $data = array(); $data['name'] = 'For Eyes Only'; $data['private'] = 'N'; $data['modified_on'] = date('Y-m-d'); $data['cover_note'] = 'nothing to share'; if ($resume->update($data)) { echo $resume->get_cover_note(); } else { echo "failed"; exit; } echo "<br>"; ?> <b>Create work experience 1st resume...</b><br><br><?php $resume = new Resume($uid, $first_resume); $data = array(); $data['industry'] = '1'; $data['from'] = '2005-01-02'; $data['place'] = 'Intel Corporation Sdn Bhd'; $data['work_summary'] = 'i worked as a janitor'; $work_experience = array(); if ($resume->create_work_experience($data)) {