?> </th> <th><?php i18n::getLabel("food.name"); ?> </th> <th><?php i18n::getLabel("food.price"); ?> </th> <th><?php i18n::getLabel("food.type"); ?> </th> <th><?php i18n::getLabel("food.counttype"); ?> </th> </tr> </thead> <tbody> <?php for ($i = 0; $i < sizeof($foodList); $i++) { $food = $foodList[$i]; ?> <tr> <td><?php echo $food->getId(); ?> </td> <td><img src="<?php
"> <span class="fa fa-unlock-alt form-control-feedback"></span> </div> <div class="form-group"> <div class="checkbox"> <label> <input type="checkbox" name="rememberme" value="true" class="i-yellow-flat"><?php i18n::getLabel("message.user.login.remember.me"); ?> </label> </div> </div> <div class="form-group"> <button type="submit" class="btn btn-warning btn-lg btn-perspective btn-block"><?php i18n::getLabel("login"); ?> </button> </div> </form> <p class="text-center"> <strong><a href="controls/site.php?switchLang=kh" target="_self">change to khmer</a></strong> </p> <p class="text-center"> <strong><a href="controls/site.php?switchLang=en" target="_self">change to english</a></strong> </p> </div> <!-- /.login-wrapper --> <!-- =========================================================== END PAGE
</div> </div> <div class="progress"> <div id="progress-bar" class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div> </div> <input type="hidden" id="cropX"> <input type="hidden" id="cropY"> <input type="hidden" id="cropW"> <input type="hidden" id="cropH"> </form> </div> <div class="col-md-5"> <div class="thumbnail"> <img id="avatarBackground" src="assets/img/food-avatar.png"> <img id="img-thumbnail"> </div> </div> <div class="col-md-2"> <button class="btn btn-danger" type="button" onclick="saveImage()"> <i class="fa fa-floppy-o"></i> <span><?php i18n::getLabel("save"); ?> </span> </button> </div> </div> </div> </div>
?> </th> <th><?php i18n::getLabel("message.user.manageuser.table.status"); ?> </th> <th><?php i18n::getLabel("message.user.register.address"); ?> </th> <th><?php i18n::getLabel("message.user.register.phone"); ?> </th> <th><?php i18n::getLabel("message.user.manageuser.table.username"); ?> </th> </tr> </thead> </table> </div> <!-- /.table-responsive --> </div> <!-- /.the-box .default --> <!-- END DATA TABLE --> </div> </form> </div> <!-- /.container-fluid -->
if ($edit) { if ($user->getCache() == User::CACHE_HIDE) { $checkedCache = " checked "; } } ?> <input type="checkbox" name="cache" value="<?php echo User::CACHE_HIDE; ?> " <?php echo $checkedCache; ?> /> <?php i18n::getLabel("message.user.manageuser.button.delete"); ?> </label> </div> </div> <div class="form-group"> <div class="col-lg-9 col-lg-offset-3"> <button type="submit" class="btn btn-primary"><?php if ($edit) { echo "Edit"; } else { echo "Create"; } ?> </button> <a class="btn btn-warning" onclick="window.history.back()" id="back">Back</a>
?> ','controls/FoodControl.php');" class="btn btn-success btn-rounded-lg col-md-12 col-xs-12"> <i class="fa fa-pencil"></i><?php i18n::getLabel("message.user.manageuser.button.edit"); ?> </a> </div> <div class="col-xs-12 col-md-3"> <a href="javascript:void(0);open('myform','<?php echo SHOWHIDE; ?> ','controls/FoodControl.php');" class="btn btn-success btn-rounded-lg col-md-12 col-xs-12"> <i class="fa fa-eye"></i><?php i18n::getLabel("message.user.manageuser.button.show"); ?> </a> </div> <a href="javascript:void(0);open('myform','<?php echo REFRESH; ?> ','controls/FoodControl.php');" class="btn"><i class="fa fa-refresh"></i></a> </div> <!-- End Button --> <!-- Pop up --> <div id="text-popup-html" class="white-popup mfp-with-anim mfp-hide"> </div> <!-- End Pop up -->
<div class="form-group has-feedback lg left-feedback no-label"> <input name="password" type="password" class="form-control no-border input-lg rounded" placeholder="<?php i18n::getLabel("message.user.register.password"); ?> "> <span class="fa fa-lock form-control-feedback"></span> </div> <div class="form-group has-feedback lg left-feedback no-label"> <input name="confirm-password" type="password" class="form-control no-border input-lg rounded" placeholder="<?php i18n::getLabel("message.user.register.confirmpassword"); ?> "> <span class="fa fa-unlock form-control-feedback"></span> </div> <div class="form-group"> <button type="submit" class="btn btn-warning btn-lg btn-perspective btn-block"><?php i18n::getLabel("message.user.titile.register"); ?> </button> <button onclick="" class="btn btn-danger btn-lg btn-perspective btn-block"><?php i18n::getLabel("cancel"); ?> </button> </div> </form> </div><!-- /.login-wrapper --> <!-- =========================================================== END PAGE =========================================================== -->
?> ", "info": "<?php i18n::getLabel("message.user.manageuser.info.0"); ?> _PAGE_ <?php i18n::getLabel("message.user.manageuser.info.1"); ?> _PAGES_", "infoEmpty": "<?php i18n::getLabel("message.user.manageuser.zerorecords"); ?> ", "infoFiltered": "(filtered from _MAX_ total records)", "search": "<?php i18n::getLabel("message.user.manageuser.search"); ?> ", "paginate": { "first": "<<", "last": ">>", "next" : ">", "previous" : "<" } }, "processing": true, "columnDefs": [ { "searchable": false, "orderable": false, "targets": 0 } ],