Example #1
0
    $selected = "";
    if (strlen($n) == 1) {
        $n = "0" . $n;
    }
    if ($n == $selected_month) {
        $selected = "selected='selected'";
    }
    ?>
				<option value="<?php 
    echo $n;
    ?>
" <?php 
    echo $selected;
    ?>
><?php 
    echo ina_month($n);
    ?>
</option>
				<?php 
}
?>
			</select>
			-
			<select name="selectYear" id="selectYear">
				<?php 
for ($n = 2012; $n <= date("Y") + 20; $n++) {
    $selected = "";
    if ($n == $selected_year) {
        $selected = "selected='selected'";
    }
    ?>
Example #2
0
<div id="box">
	<h3 id="adduser">
		DASHBOARD
		<div class="right"><?php 
echo ina_month(date("m")) . " " . date("Y");
?>
</div>
	</h3>
	<table width="100%" style="width: 220px; float: left;">
		<thead>
			<tr>
	            <th colspan="3"><a href="#">Total Order</a></th>
	        </tr>
			<tr>
				<th width="40px"><a href="#">No</a></th>
	        	<th><a href="#">Jenis</a></th>
	            <th><a href="#">Total</a></th>
	        </tr>
		</thead>
		<tbody>
			<tr>
	        	<td class="a-center">1</td>
	        	<td>Order Paket</td>
	            <td align="center"><?php 
echo $total_booking_paket;
?>
</td>
	        </tr>
	        <tr>
	        	<td class="a-center">2</td>
	        	<td>Booking Space</td>
Example #3
0
			<option value="per_produk_grup">Per Produk Grup</option>
			<option value="per_industri">Per Industri</option>
			<option value="per_agency">Per Agency</option>
			<option value="per_client">Per Client</option>
		</select>
		Periode: 
		<select id="selectMonth">
			<?php 
for ($i = 1; $i <= 12; $i++) {
    $m = strlen($i) == 1 ? "0" . $i : $i;
    ?>
			<option value="<?php 
    echo $i;
    ?>
"><?php 
    echo ina_month($m);
    ?>
</option>
			<?php 
}
?>
		</select>
		<select id="selectYear">
			<?php 
for ($i = 2012; $i <= 2030; $i++) {
    ?>
			<option value="<?php 
    echo $i;
    ?>
"><?php 
    echo $i;
Example #4
0
<html>
  <head>
    <title>Kalender</title>
	<?php 
echo css("style.css");
echo css("jquery-ui/jquery.ui.all.css");
?>
	</head>
  	<body>  		
		<div class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" style="display: block;">
			<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix ui-corner-all">
			<div class="ui-datepicker-title">
			<span class="ui-datepicker-month"><?php 
echo ina_month($month);
?>
</span>
			<span class="ui-datepicker-year"><?php 
echo $year;
?>
</span>
			</div>
			</div>
			<table class="ui-datepicker-calendar">
				<thead>
					<th>Su</th>
					<th>Mo</th>
					<th>Tu</th>
					<th>We</th>
					<th>Th</th>
					<th>Fr</th>
					<th>Sa</th>