Esempio n. 1
0
 /**
  * @GET
  * @uri getphoto
  */
 public function getPhoto()
 {
     $db = MedooFactory::getInstance();
     return new JsonView($db->get('photo', '*'));
 }
Esempio n. 2
0
<?php

use Main\Helper;
use Main\DB\Medoo\MedooFactory;
$db = MedooFactory::getInstance();
$this->import('/layout/header');
?>
<style media="screen">
  .logoBox {
    margin-top: 20px;
    background-color: #ffffff;
    padding: 30px;
  }
  .listLogo img {
    width: 128px;
    height: auto;
    padding: 2px;
  }

  .bgImg {
    width: 128px;
    height: auto;
    padding: 2px;
  }

  .bgBox {
    margin-top: 20px;
    background-color: #ffffff;
    padding: 30px;
  }
</style>