Beispiel #1
0
        if ($service['service_category'] == $data['id']) {
            echo "selected='selected'";
        }
        echo ">" . $data['name'] . "</option>";
        //$str.="checkboxarray.push('chk_".$data['id']."');\n";
    }
    echo "</select>";
    ?>
<span class="checkStatus"></span>
	</td>
   </tr>
   
     <?php 
    if ($objservice->hasfiles($_GET['sid'])) {
        echo "<tr><td colspan='2'>List of image Files associated with this service : <br>";
        echo $objservice->editphotos($_GET['sid']);
        echo "<td></tr>";
    }
    ?>
   
   <tr class="fir">
   	<th>Upload Another Image File</th>
	<td><?php 
    unset($_SESSION['photofilename']);
    require_once $_SERVER['DOCUMENT_ROOT'] . "/common/class/flashupload.class.php";
    $uploadObj = new flashUpload('flashUpload');
    $uploadObj->redirectLink = "javascript:submitFormOnFloat(document.forms['frmPostServices']);";
    $uploadObj->uploadPath = "http://" . $_SERVER['HTTP_HOST'] . "/ajax/service/editpostservice.php";
    $uploadObj->filetypedesc = "Image files";
    $uploadObj->vldnoblank = false;
    $objCommon = new common();