コード例 #1
0
ファイル: report.php プロジェクト: aryonp/hai-dms
        ?>
			<tr valign="top">
				<td align="left">&nbsp;<?php 
        echo $count;
        ?>
.&nbsp;</td>
				<td align="left">&nbsp;<?php 
        echo $array["evname"] ? ucwords($array["evname"]) : "-";
        ?>
&nbsp;</td>
				<td align="left">&nbsp;<?php 
        echo $array["sdate"] ? cplday('D, j M Y', $array["sdate"]) : "-";
        ?>
&nbsp;</td>
				<td align="left">&nbsp;<?php 
        echo $array["edate"] ? cplday('D, j M Y', $array["edate"]) : "-";
        ?>
&nbsp;</td>
				<td align="left">&nbsp;<?php 
        echo $array["qty_locket"] ? $array["qty_locket"] : "-";
        ?>
&nbsp;</td>
				<td width="60" align="center" valign="middle">
					<a title="View Details" class="btn btn-default" href="./report_det.php?evid=<?php 
        echo $array["id"];
        ?>
">
						<span class="glyphicon glyphicon-stats"></span>
						DASHBOARD
					</a>
				</td>
コード例 #2
0
ファイル: lhistory.php プロジェクト: aryonp/hai-dms
        ?>
				<tr align="left" valign="top">
					<td width="25" align="left">&nbsp;<?php 
        echo $count;
        ?>
.</td>
					<td>&nbsp;<?php 
        echo $log_list_arr["fullname"] ? ucwords($log_list_arr["fullname"]) : "-";
        ?>
&nbsp;</td>
					<td>&nbsp;<?php 
        echo $log_list_arr["ip_addr"] ? ucwords($log_list_arr["ip_addr"]) : "-";
        ?>
&nbsp;</td>
					<td>&nbsp;<?php 
        echo $log_list_arr["time"] ? cplday('d M Y H:i:s', $log_list_arr["time"]) : "-";
        ?>
&nbsp;</td>
					<td>&nbsp;<?php 
        echo $log_list_arr["notes"] ? strtoupper($log_list_arr["notes"]) : "-";
        ?>
&nbsp;</td>
				</tr>
<?php 
        $count++;
    }
} else {
    ?>
				<tr><td colspan="5" align="center" bgcolor="#e5e5e5"><br />No Data Entries<br /><br /></td></tr>
<?php 
}
コード例 #3
0
ファイル: report_det.php プロジェクト: aryonp/hai-dms
	</div>
</a>
<br>
<?php 
if (mysql_num_rows($ev_SQL) >= 1) {
    ?>

Event : <?php 
    echo $ev_arr["evname"] ? ucwords($ev_arr["evname"]) : "-";
    ?>
<br>
Event's Period : <?php 
    echo $ev_arr["sdate"] ? cplday('D, j M Y', $ev_arr["sdate"]) : "-";
    ?>
 - <?php 
    echo $ev_arr["edate"] ? cplday('D, j M Y', $ev_arr["edate"]) : "-";
    ?>
<br>
Event Organizer : <?php 
    echo $ev_arr["fullname"] ? ucwords($ev_arr["fullname"]) : "-";
    ?>

<br>
<br>
<table border="0" cellpadding="1" cellspacing="1" width="100%" class="table table-striped table-hover table-condensed">	
	<thead>
    	<tr valign="middle">
			<th width="*">&nbsp;<b>LOCKET</b></td>
            <th width="*" class="text-center">&nbsp;<b>OCCUPIED</b>&nbsp;</td>
           	<th width="*" class="text-center">&nbsp;<b>SKIP</b>&nbsp;</td>
            <th width="*" class="text-center">&nbsp;<b>CLOSED</b>&nbsp;</td>
コード例 #4
0
ファイル: member_det.php プロジェクト: aryonp/hai-dms
				</select>
			</div>
			<div class="form-group">
				<label>ACCOUNT STATUS</label>
<?php if ($_SESSION['level'] > $old_user_array["level"]){?><?=($old_user_array["active"] == '1')?"active":"disabled"?><input type="hidden" name="active" value="<?=$old_user_array["actives"]?>" /><?php } else {?>
			<select class="form-control" name="active">
<?php foreach($act_det as $act_key => $act_status) {
		$compare_act = ($act_key == $old_user_array["active"])?"SELECTED":"";?>
				<option value ="<?=$act_key?>" <?=$compare_act?>><?=ucwords($act_status)?></option>
<?php	} ?>
 			    </select>
<?php } ?>
 			</div>   
 			<div class="form-group">
				<label>JOIN DATE</label>
				<br>
				<?=cplday('d F Y',$old_user_array["cdate"])?>
			</div>
			<div class="form-group">
				<button type="submit" class="btn btn-primary" name="upd_user">Update User</button>
			</div>
		</form>
<?php 
} else {
	deny_perm();
	log_hist(4, " TO USER ".$old_user_array["email"]);
}
?>
</div>
<//-----------------CONTENT-END-------------------------------------------------//>
<?php include THEME_DEFAULT.'footer.php'; ?>
コード例 #5
0
ファイル: help.php プロジェクト: aryonp/hai-dms
            ?>
&nbsp;</td>
					<td>&nbsp;<?php 
            echo $help_list_array["title"] ? ucwords($help_list_array["title"]) : "-";
            ?>
&nbsp;</td>
					<td>&nbsp;<?php 
            echo $help_list_array["level"] ? ucwords($help_list_array["level"]) : "-";
            ?>
&nbsp;</td>
					<td>&nbsp;<?php 
            echo $help_list_array["location"] ? filesize($help_list_array["location"]) : "-";
            ?>
&nbsp;</td>
					<td>&nbsp;<?php 
            echo $help_list_array["updDate"] != "0000-00-00 00:00:00" ? cplday('d M Y H:i:s', $help_list_array["updDate"]) : "-";
            ?>
&nbsp;</td>
					<td width="60" align="center">
						<a title="View" class="btn btn-default" href="<?php 
            echo $help_list_array["location"];
            ?>
">
							<span class="glyphicon glyphicon-download-alt"></span>
						</a>
					</td>
					<td width="60" align="center">
						<a title="Edit" class="btn btn-default" href="<?php 
            echo $this_page;
            ?>
&nid=<?php 
コード例 #6
0
ファイル: members.php プロジェクト: aryonp/hai-dms
                 	<th width="*" align="left">&nbsp;<b>REG. DATE</b>&nbsp;</td>
                 	<th width="*" align="center" colspan="2">&nbsp;<b>CMD</b></td>
				</tr>
				</thead>
				<tbody>
<?php 
   if ($pagingResult->getPageRows()>= 1) {	
			$count = $pagingResult->getPageOffset() + 1;
			$result = $pagingResult->getPageArray();
			while ($array = mysql_fetch_array($result, MYSQL_ASSOC)) { ?>
		<tr valign="top">
			<td align="left">&nbsp;<?=$count?>.&nbsp;</td>
			<td align="left">&nbsp;<?=($array["fullname"])?ucwords($array["fullname"]):"-";?>&nbsp;</td>
			<td align="left">&nbsp;<?=($array["email"])?$array["email"]:"-";?>&nbsp;</td>
			<td align="left">&nbsp;<?=ucwords($array["level"])?>&nbsp;</td>
			<td align="left">&nbsp;<?=cplday('d M Y',$array["joindate"])?>&nbsp;</td>
			<td width="60" align="center" valign="middle">
				<a title="View Details" class="btn btn-default" href="./member_det.php?id=<?=$array["id"]?>">
					<span class="glyphicon glyphicon-pencil"></span>
				</a>
			</td>
			<td width="60" align="center" valign="middle">
				<a title="Delete Member" class="btn btn-default" href="<?=$this_page?>&did=<?=$array["id"]?>">
					<span class="glyphicon glyphicon-trash"></span>
				</a>
			</td>
		</tr>

<?php	$count++;  
		}
	} else {?>