<label><?php 
echo _password;
?>
</label>	
	<p>	 	 	 	 	 	 			
		<?php 
echo $row->limit_password ? $row->limit_password : '******';
?>
	</p>
	<label><?php 
echo _webform;
?>
</label>
	<p>		
		<?php 
echo printOnOff($row->webform);
?>
	</p>
	<br/>
	<label>Online Booking Links</label>
	<p>		
		<?php 
echo "<br/><span class='bold'>" . $row->outlet_name . " :</span><br/>";
echo "<input type='text' name='' class='width-450' value=' " . $global_basedir . "api/reserve.php?outletID=" . $row->outlet_id . "'/>";
echo "<br/><span class='bold'>" . _property . " :</span><br/>";
echo "<input type='text' name='' class='width-450' value='" . $global_basedir . "api/reserve.php?propertyID=" . $row->property_id . "'/>";
?>
	</p>	 	 	 	 	 	 	
</div></div></div> <!-- end left column -->
<!-- Beginn right column -->	
<div class="twocolumn_wrapper right">
Exemple #2
0
echo $row['password'];
?>
"/>
	</p>
	<label><?php 
echo _email;
?>
</label>
	<p>
		<input type="text" name="email" id="email" class="required email" title=' ' value="<?php 
echo $row['email'];
?>
"/>
	</p>
	<label><?php 
echo printOnOff($row['autofill'], 'autofill', '');
?>
 <?php 
echo _users . " = " . _author;
?>
</label>
	<p></p>
	<label><?php 
echo _type;
?>
</label>
	<p>
			<?php 
if ($_SESSION['page'] != 7 && $row['userID'] != '' || $_SESSION['page'] == 6 && $row['userID'] == '') {
    echo "<select name='role' id='role' size='1'>\n";
    //set role
			<label><?php 
echo _payment;
?>
</label>
			<p>
				<span class="width-250">
				<?php 
echo _paid . "<br>";
$paid = $row->reservation_bill_paid ? 1 : 0;
echo printOnOff($paid, 'reservation_bill_paid') . "&nbsp;&nbsp;";
if ($paid) {
    humanize($row->reservation_bill_paid);
}
echo "<br>" . _shipped . "<br>";
$paid = $row->reservation_billet_sent ? 1 : 0;
echo printOnOff($paid, 'reservation_billet_sent') . "&nbsp;&nbsp;";
if ($paid) {
    humanize($row->reservation_billet_sent);
}
?>
				</span>
			</p>
			<label><?php 
echo _paid_by;
?>
</label>
			<p>
				<?php 
getPaidList($row->reservation_bill, 'disabled');
?>
			</p>
Exemple #4
0
$cap = querySQL('capabilities');
echo "<br/><h4>" . _users . " " . _type . "</h4>";
echo "<table class='global'><tr>";
echo "<th></th>";
foreach ($roles as $key => $values) {
    if ($key > 1) {
        echo "<th>" . $values . "</th>";
    }
}
echo "</tr>\n";
// printing table rows
echo "<tr>";
// $row is array... foreach( .. ) puts every element
// of $row to $cell variable
while ($row = mysql_fetch_array($cap)) {
    foreach ($row as $key => $value) {
        if ($key != 1) {
            if ($key != '0') {
                if ($key == 'capability') {
                    echo "<td><span class='bold'>" . str_replace('-', ' ', $value) . "</strong></td>";
                } else {
                    echo "<td>" . printOnOff($value) . "</td>";
                }
            }
        }
    }
    echo "</tr>\n";
}
?>
</table>
<br/>
		<input type="text" name="limit_password" id="limit_password" title=' ' value="<?php 
echo $row->limit_password;
?>
"/>
	</p>
	<label><?php 
echo _webform;
?>
</label>
	&nbsp;<img src="images/icons/infos.png" class="tipsyold" title="<?php 
echo MAN_8;
?>
"/>
	<p>		
		<?php 
echo printOnOff($row->webform, 'webform', '');
?>
	</p>
	<br/><br/>		 	 	 	 	 	 		 	 	 	 	 	 				 	 	 	 	 	 	 
	<br class="clear">
		<input type="submit" class="button_dark" value="<?php 
echo _save;
?>
"/>		 	 	 	 	 	 	 			 	 	 	 	 	 	
</div></div></div> <!-- end left column -->
<!-- Beginn right column -->	
<div class="twocolumn_wrapper right">
	<div class="twocolumn" >
		<div class="content form-height">
			<label><?php 
echo _season_start;
</th>
	    	<th><?php 
echo _webform;
?>
</th>
			<th><?php 
echo _delete;
?>
</th>
	    </tr>
	</thead>
	<tbody>
		<?php 
if ($_SESSION['button'] == 1) {
    $outlets = querySQL('db_all_outlets');
} else {
    if ($_SESSION['button'] == 3) {
        $outlets = querySQL('db_all_outlets_old');
    }
}
if ($outlets) {
    foreach ($outlets as $row) {
        $pr_year = $row->saison_year == 0 ? '&nbsp;' : $row->saison_year;
        echo "<tr id='outlet-" . $row->outlet_id . "'>";
        echo "<td>" . $row->outlet_id . "</td>\n\t\t\t<td><span class='bold'><a href='?p=101&outletID=" . $row->outlet_id . "'>" . $row->outlet_name . "</a></strong></td>\n\t\t\t<td><span class='bold'>" . $row->outlet_max_capacity . "</strong></td>\n\t\t\t<td><span class='bold'>" . $row->outlet_max_tables . "</strong></td>\n\t\t\t<td>" . formatTime($row->outlet_open_time, $general['timeformat']) . " - " . formatTime($row->outlet_close_time, $general['timeformat']) . "</td>\n\t\t\t<td>" . $row->avg_duration . "</td>\n\t\t\t<td>" . buildDate($general['dateformat_short'], substr($row->saison_start, 2, 2), substr($row->saison_start, 0, 2)) . " - " . buildDate($general['dateformat_short'], substr($row->saison_end, 2, 2), substr($row->saison_end, 0, 2)) . "</td>\n\t\t\t<td>" . $pr_year . "</td>\n\t\t\t<td><small>" . $cuisines[$row->cuisine_style - 1] . "</small></td>\n\t\t\t<td>" . printOnOff($row->webform) . "</td>\n\t\t    <td>\n\t\t\t\t\t<a href='#modaldelete' name='outlets' id='" . $row->outlet_id . "' class='deletebtn'>\n\t\t\t\t\t<img src='images/icons/delete_cross.png' alt='" . _cancelled . "' class='help' title='" . _delete . "'/>\n\t\t\t\t\t</a>\n\t\t    \t</td>\n\t\t\t</tr>";
    }
}
?>
	</tbody>
</table>
<!-- End example table data -->