Exemple #1
0
						<td colspan="2" class="last"><input name="chuthe" value="<?php 
    echo $row['chuthe'];
    ?>
"  type="text" class="text" /></td>
					</tr>
                    <tr>
						<td class="first"><strong>Số tài khoản</strong></td>
						<td colspan="2" class="last"><input name="num_acc" value="<?php 
    echo $row['num_acc'];
    ?>
"  type="text" class="text"/></td>
					</tr>
                    <tr>
						<td class="first"><strong>Block</strong></td>
						<td colspan="2" class="last"><input name="block" type="checkbox" id="block" <?php 
    loadChecked($row['block']);
    ?>
 /></td>
					</tr>
					<tr class="bg">
					  <td class="first">&nbsp;</td>
					  <td colspan="2" class="last"><label>
					    <input type="submit" name="done" value="Submit" id="done" />
					  </label></td>
				  </tr>
				</table>
				</form>
	        <p>&nbsp;</p>
		  </div>
		</div>
<?php 
Exemple #2
0
						<td class="first" width="75"><strong>Image</strong></td>
						<td width="225" class="last"><input name="image" type="file" id="image"  />
                        <input type="hidden" name="tmpImage" value="<?php 
    echo $row['image'];
    ?>
"  /><img src="../<?php 
    echo $row['image'];
    ?>
" height="50" align="absmiddle" />                         </td>
						
					</tr>
					<tr style="display:none">
						<td class="first" width="75"><strong>Published</strong></td>
						<td colspan="2" class="last"><label>
						  <input name="published" type="checkbox" id="published" <?php 
    loadChecked($row['published']);
    ?>
 />
					  </label></td>
					</tr>
					<tr>
					  <td class="first"><strong>Ordering</strong></td>
					  <td colspan="2" class="last"><input name="ordering" type="text" class="text" id="ordering" value="<?php 
    echo $row['ordering'];
    ?>
" /></td>
				  </tr>
					<tr style="display:none">
						<td class="first" width="75"><strong>View</strong></td>
						<td colspan="2" class="last"><input name="view" type="text" class="text" id="view" value="<?php 
    echo $row['view'];
Exemple #3
0
                        <td class="first"><strong>URL</strong></td>
                        <td colspan="3" class="last"><input name="url" type="text" class="text" id="url" value="<?php 
    echo $row['URL'];
    ?>
"/></td>
                    </tr>
                    <tr class="bg" style="display:none">
						<td class="first"></td>
						<td colspan="3" class="last"><input type="checkbox" name="chobe" <?php 
    loadChecked($row['chobe']);
    ?>
 /> Cho bé <input type="checkbox" name="chome" <?php 
    loadChecked($row['chome']);
    ?>
 /> Cho mẹ <input type="checkbox" name="chogiadinh" <?php 
    loadChecked($row['chogiadinh']);
    ?>
 /> Cho gia đình</td>
					</tr>
					<tr class="bg">
					  <td class="first">&nbsp;</td>
					  <td colspan="3" class="last"><label>
					    <input type="submit" name="done" value="Submit" id="done" />
					  </label></td>
				  </tr>
				</table>
			  </form>
	        <p>&nbsp;</p>
		  </div>
		</div>
<?php 
Exemple #4
0
&val='+this.checked+'&field_name=typical&tbl_name=products')" />
                        </td>
                        
                        <td>
                        	<input type="checkbox" <?php 
        loadChecked($row['featured']);
        ?>
 onclick="update_field('../ajax/get_check.php','id=<?php 
        echo $row['id'];
        ?>
&val='+this.checked+'&field_name=featured&tbl_name=products')" />
                        </td>
                        
                        <td>
                        	<input type="checkbox" <?php 
        loadChecked($row['liked']);
        ?>
 onclick="update_field('ajax/get_check.php','id=<?php 
        echo $row['id'];
        ?>
&val='+this.checked+'&field_name=liked&tbl_name=products')" />
                        </td>
                        
						<td align="center" class="last">
                        	<input type="checkbox" name="del[]" value="<?php 
        echo $row['id'];
        ?>
" id="del[]" />
                        </td>
					</tr>
<?php 
Exemple #5
0
    ?>
" name="date_add" />
                                <img style="cursor:pointer;" src="js/calendar/images/calendar.gif" onClick="displayCalendar(document.forms[0].date_add,'dd-mm-yyyy',this)" >
                    	</td>
					</tr>
                    <tr>
                        <td class="first"><strong>URL</strong></td>
                        <td colspan="3" class="last"><input name="url" type="text" class="text" id="url" value="<?php 
    echo $row['URL'];
    ?>
"/></td>
                    </tr>
                    <tr>
						<td class="first"><strong>Hot</strong></td>
						<td class="last"><input name="hot" type="checkbox" id="hot" <?php 
    loadChecked($row['hot']);
    ?>
 /></td>
                    </tr>
					<tr class="bg">
					  <td class="first">&nbsp;</td>
					  <td colspan="3" class="last"><label>
					    <input type="submit" name="done" value="Submit" id="done" />
					  </label>                      </td>
				  </tr>
				</table>
			  </form>
	        <p>&nbsp;</p>
		  </div>
		</div>
<?php