コード例 #1
0
ファイル: index.php プロジェクト: shohe/yumyum
<!doctype html>
<html lang="en">
<?php 
require_once "./modules/YumDB.class.php";
$yumDB = new YumDB();
?>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>yum yum</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="../lib/slider/jquery.bxslider.css" media="screen" title="no title" charset="utf-8">
    <link rel="stylesheet" href="./css/style.css" media="screen" title="no title" charset="utf-8">
</head>
<body>
    <canvas id="canvas"></canvas>

    <h2 id="title-yumyum" class="tuio-tapEvent">yum yum</h2>
    <h4 id="subtitle-yumyum" class="small-text-white">知識を美味しくいただきます。</h4>
    <h4 id="user-choose" class="small-text-white">どちら様がご利用なさいますか?</h4>
    <div href="#" id="get-stated-button" class="tuio-tapEvent">はじめる</div>

    <img id="hashi" src="./images/hashi.png" style="width:auto; height:25px; position:absolute;" alt="" />
    <div id="gohan-set" class="set-rotate">
        <img id="gohan" class="gohan-rotate" src="./images/meshi.png" style="width:70px; height:auto; top:95px; left:-125px;" alt="" />
        <img id="osuimono" class="gohan-rotate" src="./images/shiru.png" style="width:80px; height:auto; top:100px; left:45px;" alt="" />
        <div class="img-wrap gohan-rotate" style="top:-50px; left:85px; width:65px; height:65px;"><img src='./images/user/1.png' alt='' /></div>
        <div class="img-wrap gohan-rotate" style="top:-90px; left:-105px; width:65px; height:65px;"><img src='./images/user/2.png' alt='' /></div>
        <div class="img-wrap gohan-rotate" style="top:-185px; left:180px; width:65px; height:65px;"><img src='./images/user/3.png' alt='' /></div>
        <div class="img-wrap gohan-rotate" style="top:30px; left:-12px; width:65px; height:65px;"><img src='./images/user/4.png' alt='' /></div>
コード例 #2
0
ファイル: calling.php プロジェクト: shohe/yumyum
<!doctype html>
<html lang="en">
<?php 
require_once "./modules/YumDB.class.php";
$yumDB = new YumDB();
$friends = null;
$isMulti = $_GET['multi'] == 'true' ? true : false;
if ($isMulti) {
    $friends = $yumDB->selectUsers($_GET['callId']);
} else {
    $friends = $yumDB->selectUser($_GET['callId']);
}
?>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>yum yum</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="../lib/slider/jquery.bxslider.css" media="screen" title="no title" charset="utf-8">
    <link rel="stylesheet" href="../lib/font-awesome/css/font-awesome.min.css" media="screen" title="no title" charset="utf-8">
    <link rel="stylesheet" href="./css/style.css" media="screen" title="no title" charset="utf-8">
</head>
<body>
    <canvas id="canvas"></canvas>

    <h2 id="title-yumyum" class="tuio-tapEvent">yum yum</h2>
    <h4 id="subtitle-yumyum" class="small-text-white">知識を美味しくいただきます。</h4>
    <div id="time-num-group"></div>

    <div id="call-load">
コード例 #3
0
ファイル: call.php プロジェクト: shohe/yumyum
<!doctype html>
<html lang="en">
<?php 
require_once "./modules/YumDB.class.php";
$yumDB = new YumDB();
$friends = array_chunk($yumDB->selectFriends($_GET['id']), 10);
?>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>yum yum</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="../lib/slider/jquery.bxslider.css" media="screen" title="no title" charset="utf-8">
    <link rel="stylesheet" href="../lib/font-awesome/css/font-awesome.min.css" media="screen" title="no title" charset="utf-8">
    <link rel="stylesheet" href="./css/style.css" media="screen" title="no title" charset="utf-8">
</head>
<body>
    <canvas id="canvas"></canvas>

    <h2 id="title-yumyum" class="tuio-tapEvent">yum yum</h2>
    <h4 id="subtitle-yumyum" class="small-text-white">知識を美味しくいただきます。</h4>
    <div id="time-num-group"></div>

    <div id="friends-wrap">
        <ul id="friends-slider" class="tuio-tapEvent">
            <?php 
for ($i = 0; $i < count($friends); $i++) {
    ?>
            <li>
                <div class="friends-list-wrap">
コード例 #4
0
ファイル: profile.php プロジェクト: shohe/yumyum
<!doctype html>
<html lang="en">
<?php 
require_once "./modules/YumDB.class.php";
$yumDB = new YumDB();
$user = $yumDB->selectUser($_GET['id']);
?>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>yum yum</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="../lib/slider/jquery.bxslider.css" media="screen" title="no title" charset="utf-8">
    <link rel="stylesheet" href="./css/style.css" media="screen" title="no title" charset="utf-8">
</head>
<body>
    <canvas id="canvas"></canvas>

    <h2 id="title-yumyum" class="tuio-tapEvent">yum yum</h2>
    <h4 id="subtitle-yumyum" class="small-text-white">知識を美味しくいただきます。</h4>
    <div id="menu-controller">
        <ul>
            <li>MENU</li>
            <li id="menu-call" class="tuio-tapEvent">+ call</li>
            <li id="menu-profile" class="tuio-tapEvent">+ profile</li>
            <li id="menu-drow" class="tuio-tapEvent">+ draw</li>
            <li id="menu-picture" class="tuio-tapEvent">+ picture</li>
        </ul>
    </div>
    <div id="time-num-group"></div>