コード例 #1
0
ファイル: post_jobs.php プロジェクト: sknlim/classified-2
        		<?php 
$statelist = $objjobtype->getstatelist();
foreach ($statelist as $data) {
    echo "<option value='" . $data['id'] . "'>" . $data['name'] . "</option>\r\n\t\t\t\t\t";
}
?>
			</select><span class="checkStatus"></span>
        </td>
	</tr>
    <tr>
    	<th valign="top"><label for="title">Salary</label></th>
        <td><select id="salary_currency" name="salary_currency" style="width:200px;">
        		<option value="" class="vldnoblank">Currency type</option>
				<?php 
$objcurrency = new currency();
$currency = $objcurrency->getall();
foreach ($currency as $data) {
    echo "<option value='" . $data['id'] . "'>" . stripslashes($data['full_name']) . "</option>\r\n\t\t\t\t\t";
}
?>
			</select>
	
    <select id="salary_basis" name="salary_basis" class="vldnoblank">
        <option value="">Period</option>
        <option value="weekly">Weekly</option>
        <option value="monthly">Monthly</option>
        <option value="yearly">Yearly</option>
    </select><span class="checkStatus"></span><br />
    
        <table>
            <tr>
コード例 #2
0
$total = $currency->total_currency();
$query_string = $_SERVER['PHP_SELF'] . "?type_id=" . $_GET['type_id'];
if ($_GET['pageno'] == "") {
    $current_page = 1;
} else {
    $current_page = $_GET['pageno'];
}
$pagenum = new pagenumbering($total, $query_string, $current_page, $pagelimit, 6);
$st_limit = ($current_page - 1) * $pagelimit;
$ed_limit = $pagelimit;
if ($total < 1) {
    $st_limit = 0;
    $ed_limit = 0;
}
/* Page Numbering Class */
$result = $currency->getall($st_limit, $ed_limit);
?>
 <a href='add_currency.php'>ADD Currency</a>
<form name="listuser" action="delete_currency.php?action=delete" method="post" onsubmit="return deletecategory(); ">
<input type="hidden" id="selectcheck"  name="selectcheck" />
<table width="100%"><tr><td align="right" width="100%">
<b><font color="red" size="2"> *Delete : this will delete there all data from the website </font></b><input type="submit" value="Delete" /></td></tr></table>
<table width="100%" style="font-family:Arial, Helvetica, sans-serif; font-size:13px;"> 	
	<tr bgcolor="#3262bd">
		<td class="grey" align="center">Name</td>
		<td class="grey" align="center">Full Name</td>
		<td class="grey" align="center">Edit</td>
		<td class="grey" align="center">Delete</td>
		
		<td class="grey" align="center" align="center"><input type="checkbox" name="allbox" onclick="CheckAll(document.listuser);" /></td>
	</tr>