assign("firf", true); } $controller->title = "ネットカフェなら!マンガ喫茶マンボー| インターネットカフェ"; $controller->keyword = "ネットカフェ,マンガ喫茶,まんが喫茶,漫画喫茶,漫喫,マン喫,インターネットカフェ,ネカフェ,インターネット,MANBOO"; $controller->assign("banner", $controller->backend->getBanner()); $controller->backend->setTextBannersScripts(); $controller->assign("avc", $controller->db->getOne("SELECT COUNT(*) FROM cs_iptables WHERE ip = ? AND avc = 1", array($_SERVER['REMOTE_ADDR']))); $controller->assign("piction", $controller->db->getOne("SELECT COUNT(*) FROM cs_iptables WHERE ip = ? AND piction = 1", array($_SERVER['REMOTE_ADDR']))); $controller->assign("dmm", $controller->db->getOne("SELECT COUNT(*) FROM cs_iptables WHERE ip = ? AND dmm = 1", array($_SERVER['REMOTE_ADDR']))); $controller->assign("navip", $controller->db->getOne("SELECT COUNT(*) FROM cs_iptables WHERE ip = ? AND navip = 1", array($_SERVER['REMOTE_ADDR']))); $controller->assign("sod", $controller->backend->sod_available()); $controller->assign("is_manboo", $controller->backend->is_manboo()); $controller->assign("is_cinema", $controller->backend->is_cinema()); if (date("Y-m-d") >= "2011-07-27" && date("Y-m-d") <= "2016-12-31") { $controller->assign("pop5", true); } if (date("Y-m-d") >= "2011-08-02" && date("Y-m-d") <= "2016-12-31") { $controller->assign("egg", true); } $controller->assign("questions", $controller->db->getAll("SELECT q.* FROM manboo_new.enq_questions q INNER JOIN manboo_new.enq_sheet_questions sq ON q.id = sq.question_id WHERE sq.sheet_id = (SELECT sh.id FROM manboo_new.enq_sheets sh, manboo_new.enq_limitations l WHERE sh.limitation_id = l.id AND NOW() BETWEEN COALESCE(l.span_from, CAST('0000-00-00' AS DATETIME)) AND COALESCE(l.span_to, CAST('9999-12-31' AS DATETIME)) AND FIND_IN_SET((SELECT shopcode FROM manboo_new.iptables WHERE ip = ?), l.shops));", array($_SERVER['REMOTE_ADDR']), DB_FETCHMODE_ASSOC)); $controller->assign("current", $controller->db->getRow("SELECT s.* FROM manboo_new.shops s JOIN manboo_new.iptables i ON s.code = i.shopcode WHERE i.ip = '{$_SERVER['REMOTE_ADDR']}';", NULL, DB_FETCHMODE_ASSOC)); $controller->assign("hotnews", $controller->backend->getContentsByCategory(2, true, 10)); $controller->assign("publicities", $controller->backend->getContentsByCategory(4, true, 10)); $controller->assign("music", $controller->backend->getContentsByCategory(37, true, 10)); $controller->assign("limitedContents", $controller->backend->getContentsLimited(4, true, 10)); $textlinks = $controller->backend->getCategoryChildren(5); foreach($textlinks as &$bycat) { $bycat['textlinks'] = $controller->backend->getTextLinksByCategoryId($bycat['id']); } $controller->assign("textlinks", $textlinks); $controller->assign("manboo_recommended", $controller->backend->getTextLinksByCategoryId(14)); $controller->assign("presents", $controller->backend->getContentsByCategory(1,true)); $controller->assign("presents2", $controller->backend->getContentsByCategory(15,true)); $controller->assign("pickups", $controller->backend->getContentsByCategory(16,true)); $controller->assign("announces", $controller->backend->getTextLinksByCategoryId(17)); return "index"; } } //店舗IPフラグ if ($_SERVER["REMOTE_ADDR"] == '180.43.2.205') $n = 'on'; $sn = '38403' ;//新小岩店 if ($_SERVER["REMOTE_ADDR"] == '221.112.247.50') $n = 'on'; $sn = '38407' ;//新橋1号店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.207') $n = 'on'; $sn = '38407' ;//新橋1号店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.206') $n = 'on'; $sn = '38408' ;//新橋2号店 if ($_SERVER["REMOTE_ADDR"] == '180.43.41.239') $n = 'on'; $sn = '38408' ;//新橋2号店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.208') $n = 'on'; $sn = '38427' ;//神田南口店 if ($_SERVER["REMOTE_ADDR"] == '180.43.42.72') $n = 'on'; $sn = '38427' ;//神田南口店 if ($_SERVER["REMOTE_ADDR"] == '124.35.199.42') $n = 'on'; $sn = '38427' ;//MP神田店 if ($_SERVER["REMOTE_ADDR"] == '180.43.14.59') $n = 'on'; $sn = '38427' ;//MP神田店 if ($_SERVER["REMOTE_ADDR"] == '153.156.36.48') $n = 'on'; $sn = '38903' ;//MP大宮店 if ($_SERVER["REMOTE_ADDR"] == '114.160.203.70') $n = 'on'; $sn = '38410' ;//津田沼店 if ($_SERVER["REMOTE_ADDR"] == '180.43.5.18') $n = 'on'; $sn = '38410' ;//津田沼店 if ($_SERVER["REMOTE_ADDR"] == '180.43.5.19') $n = 'on'; $sn = '38636' ;//船橋店 if ($_SERVER["REMOTE_ADDR"] == '180.43.5.17') $n = 'on'; $sn = '38636' ;//船橋店 if ($_SERVER["REMOTE_ADDR"] == '114.179.81.225') $n = 'on'; $sn = '38635' ;//松戸東口店 if ($_SERVER["REMOTE_ADDR"] == '125.175.107.205') $n = 'on'; $sn = '38635' ;//松戸東口店 if ($_SERVER["REMOTE_ADDR"] == '114.160.211.175') $n = 'on'; $sn = '38607' ;//千葉駅前店 if ($_SERVER["REMOTE_ADDR"] == '114.160.211.176') $n = 'on'; $sn = '38607' ;//千葉駅前店 if ($_SERVER["REMOTE_ADDR"] == '180.43.5.20') $n = 'on'; $sn = '38419' ;//千葉中央店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.147') $n = 'on'; $sn = '38420' ;//新宿本店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.169') $n = 'on'; $sn = '38634' ;//新宿靖国通り店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.159') $n = 'on'; $sn = '38634' ;//新宿靖国通り店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.154') $n = 'on'; $sn = '38428' ;//新宿高島屋横店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.161') $n = 'on'; $sn = '38429' ;//新宿南口店 if ($_SERVER["REMOTE_ADDR"] == '180.43.42.74') $n = 'on'; $sn = '38429' ;//新宿南口店 if ($_SERVER["REMOTE_ADDR"] == '153.156.43.27') $n = 'on'; $sn = '38429' ;//新宿南口店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.148') $n = 'on'; $sn = '38431' ;//新宿総本店 if ($_SERVER["REMOTE_ADDR"] == '118.238.204.154') $n = 'on'; $sn = '38431' ;//新宿総本店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.153') $n = 'on'; $sn = '38633' ;//新宿歌舞伎町店 if ($_SERVER["REMOTE_ADDR"] == '221.255.100.130') $n = 'on'; $sn = '38633' ;//新宿歌舞伎町店 if ($_SERVER["REMOTE_ADDR"] == '118.238.212.140') $n = 'on'; $sn = '38633' ;//新宿歌舞伎町店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.158') $n = 'on'; $sn = '38602' ;//渋谷宮益坂店 if ($_SERVER["REMOTE_ADDR"] == '122.208.129.90') $n = 'on'; $sn = '38605' ;//渋谷宇田川町店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.165') $n = 'on'; $sn = '38605' ;//渋谷宇田川町店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.166') $n = 'on'; $sn = '38637' ;//渋谷センター街店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.164') $n = 'on'; $sn = '38637' ;//渋谷センター街店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.168') $n = 'on'; $sn = '38619' ;//立川北口大通り店 if ($_SERVER["REMOTE_ADDR"] == '220.106.13.159') $n = 'on'; $sn = '38619' ;//立川北口大通り店 if ($_SERVER["REMOTE_ADDR"] == '114.160.192.244') $n = 'on'; $sn = '38432' ;//吉祥寺店 if ($_SERVER["REMOTE_ADDR"] == '118.238.236.34') $n = 'on'; $sn = '38432' ;//吉祥寺店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.162') $n = 'on'; $sn = '38432' ;//吉祥寺店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.167') $n = 'on'; $sn = '38609' ;//蒲田駅前店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.160') $n = 'on'; $sn = '38640' ;//蒲田西口店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.155') $n = 'on'; $sn = '38640' ;//蒲田西口店 if ($_SERVER["REMOTE_ADDR"] == '180.43.9.17') $n = 'on'; $sn = '38601' ;//川崎店 if ($_SERVER["REMOTE_ADDR"] == '180.43.18.5') $n = 'on'; $sn = '38613' ;//川崎駅前店 if ($_SERVER["REMOTE_ADDR"] == '180.43.18.10') $n = 'on'; $sn = '38613' ;//川崎駅前店 if ($_SERVER["REMOTE_ADDR"] == '180.43.9.14') $n = 'on'; $sn = '38629' ;//川崎本店 if ($_SERVER["REMOTE_ADDR"] == '180.43.0.245') $n = 'on'; $sn = '38426' ;//横浜西口店 if ($_SERVER["REMOTE_ADDR"] == '113.34.63.146') $n = 'on'; $sn = '38426' ;//横浜西口店 if ($_SERVER["REMOTE_ADDR"] == '118.238.223.148') $n = 'on'; $sn = '38426' ;//横浜西口店 if ($_SERVER["REMOTE_ADDR"] == '114.160.203.213') $n = 'on'; $sn = '38642' ;//横須賀中央店 if ($_SERVER["REMOTE_ADDR"] == '114.160.203.212') $n = 'on'; $sn = '38642' ;//横須賀中央店 if ($_SERVER["REMOTE_ADDR"] == '114.179.70.31') $n = 'on'; $sn = '38644' ;//横須賀三笠通り店 if ($_SERVER["REMOTE_ADDR"] == '114.179.70.30') $n = 'on'; $sn = '38644' ;//横須賀三笠通り店 if ($_SERVER["REMOTE_ADDR"] == '180.43.2.150') $n = 'on'; $sn = '38415' ;//池袋東口サンシャイン通り店 if ($_SERVER["REMOTE_ADDR"] == '118.22.45.208') $n = 'on'; $sn = '38604' ;//池袋北口駅前店 if ($_SERVER["REMOTE_ADDR"] == '113.35.118.210') $n = 'on'; $sn = '38604' ;//池袋北口駅前店 if ($_SERVER["REMOTE_ADDR"] == '118.238.203.74') $n = 'on'; $sn = '38604' ;//池袋北口駅前店 if ($_SERVER["REMOTE_ADDR"] == '114.160.213.109') $n = 'on'; $sn = '38643' ;//赤羽店 if ($_SERVER["REMOTE_ADDR"] == '114.160.210.60') $n = 'on'; $sn = '38643' ;//赤羽店 if ($_SERVER["REMOTE_ADDR"] == '114.179.88.246') $n = 'on'; $sn = '38639' ;//川越本店 if ($_SERVER["REMOTE_ADDR"] == '114.179.88.250') $n = 'on'; $sn = '38639' ;//川越本店 if ($_SERVER["REMOTE_ADDR"] == '114.179.88.247') $n = 'on'; $sn = '38603' ;//大宮店 if ($_SERVER["REMOTE_ADDR"] == '118.238.207.207') $n = 'on'; $sn = '38603' ;//大宮店 if ($_SERVER["REMOTE_ADDR"] == '114.179.81.37') $n = 'on'; $sn = '38603' ;//IT大宮店 if ($_SERVER["REMOTE_ADDR"] == '114.179.81.38') $n = 'on'; $sn = '38603' ;//IT大宮店 if ($_SERVER["REMOTE_ADDR"] == '114.179.88.248') $n = 'on'; $sn = '38627' ;//熊谷店 if ($_SERVER["REMOTE_ADDR"] == '114.160.218.126') $n = 'on'; $sn = '38641' ;//名駅本店 if ($_SERVER["REMOTE_ADDR"] == '114.179.108.3') $n = 'on'; $sn = '38641' ;//名駅本店 if ($_SERVER["REMOTE_ADDR"] == '114.179.108.7') $n = 'on'; $sn = '38424' ;//金山本店 if ($_SERVER["REMOTE_ADDR"] == '114.179.108.6') $n = 'on'; $sn = '38424' ;//金山本店 if ($_SERVER["REMOTE_ADDR"] == '114.179.108.12') $n = 'on'; $sn = '38430' ;//今池店 if ($_SERVER["REMOTE_ADDR"] == '114.179.108.4') $n = 'on'; $sn = '38616' ;//岡崎店 if ($_SERVER["REMOTE_ADDR"] == '114.179.108.5') $n = 'on'; $sn = '38616' ;//岡崎店 if ($_SERVER["REMOTE_ADDR"] == '114.160.218.125') $n = 'on'; $sn = '38617' ;//錦店 if ($_SERVER["REMOTE_ADDR"] == '114.179.110.14') $n = 'on'; $sn = '38612' ;//京橋店 if ($_SERVER["REMOTE_ADDR"] == '114.179.110.15') $n = 'on'; $sn = '38612' ;//京橋店 if ($_SERVER["REMOTE_ADDR"] == '114.160.219.118') $n = 'on'; $sn = '38632' ;//三宮店 if ($_SERVER["REMOTE_ADDR"] == '114.160.219.117') $n = 'on'; $sn = '38632' ;//三宮店 if ($_SERVER["REMOTE_ADDR"] == '114.179.119.11') $n = 'on'; $sn = '38622' ;//小倉店 if ($_SERVER["REMOTE_ADDR"] == '180.43.3.67') $n = 'on'; $sn = '38634' ;//本部 if ($_SERVER["REMOTE_ADDR"] == '180.43.3.72') $n = 'on'; $sn = '38634' ;//本部 if ($_SERVER["REMOTE_ADDR"] == '180.43.3.68') $n = 'on'; $sn = '38634' ;//本部 if ($_SERVER["REMOTE_ADDR"] == '210.157.19.201') $n = 'on';//Jwrod ?> ネットカフェなら!マンガ喫茶マンボー| インターネットカフェ