Initial commit
[2ch-be.git] / index.php
blobc571f6a1ca9ce9b97a79857bffc235dcbad5358b
1 <?php
2 if (isset($_COOKIE['DMDM']) && isset($_COOKIE['MDMD'])) {
3 header('location:status.php');
4 exit;
6 include('log.php');
7 ?><!DOCTYPE html>
8 <html lang="en">
9 <head>
10 <meta charset="Shift_JIS">
11 <title>ƒ�ƒOƒCƒ“</title>
12 <meta name="viewport" content="width=device-width, initial-scale=1.0">
13 <meta name="description" content="">
14 <meta name="author" content="">
15 <link rel="stylesheet" type="text/css" href="css/style.css"/>
16 </head>
17 <body>
18 <div class="containerz">
19 <div class="navbar-collapse">
20 <ul class="nav navbar-nav">
21 </ul>
22 </div>
23 </div>
25 <div class="container">
26 <center>
27 <div class="form-signin" style = "font-size: 1.2em;text-align:right;">
28 <?php
29 if($_SERVER['SERVER_NAME'] == "be.2ch.net") {
30 if(detect_device2($_SERVER['HTTP_USER_AGENT']) == "PLSDISPLAY") {
32 <a href="http://www.2ch.net/" target="_BLANK">
33 <img src="<?php echo $livesitePath ?>css/img/2ch_logo.gif">
34 </a>
35 <?php } else { ?>
36 <img src="<?php echo $livesitePath ?>css/img/2ch_logo.gif">
37 <?php }
38 } elseif ($_SERVER['SERVER_NAME'] == "be.bbspink.com") {
40 <a href="http://www.bbspink.com/" target="_BLANK">
41 <img src="<?php echo $livesitePath ?>css/img/pink.png">
42 </a>
43 <?php
46 <br>
47 BE 2.0
48 </div>
49 </center>
50 </div>
51 <div class="container">
52 <center>
53 <form class="form-signin" method="post">
54 <h3 class="form-signin-heading">ƒ�ƒOƒCƒ“</h3>
55 <input type="email" name="mail" placeholder="“dŽqƒ��[ƒ‹ƒAƒhƒŒƒX" required autofocus>
56 <input type="password" name="pass" placeholder="ƒpƒXƒ��[ƒh" required>
57 <br><?php echo $incpa; ?><br>
58 <input type="submit" name="login" value="ƒ�ƒOƒCƒ“‚·‚é">
59 <br><br>
60 <a href="register.php">[“o˜^]</a>&nbsp;&nbsp;&nbsp;<a href="reset.php">[ƒpƒXƒ��[ƒh‚ð–Y‚ꂽ]</a>
61 </form>
62 </center>
63 <?php
64 if(detect_device2($_SERVER['HTTP_USER_AGENT']) == "PLSDISPLAY"){
66 <div class="container " >
67 <center>
68 <div class="form-signin" style = "font-size: 1.1em;text-align:left;">
69 <div style="font-size:1em;text-align:right;"><a href="http://alice-shop.myshopify.com/">ƒ�ƒ�ƒ“ƒVƒ‡ƒbƒv</a></div>
70 <div style="font-size:1em;text-align:right;"><a href="http://play.google.com/store/apps/details?id=com.rqi.bemessenger" target="_BLANK">ƒAƒ“ƒhƒ�ƒCƒhƒAƒvƒŠƒP�[ƒVƒ‡ƒ“BE</a></div>
71 </div>
72 </center>
73 </div>
74 <?php
78 </div>
80 </body>
81 </html>