OSDN Git Service

embr
[embrj/master.git] / nexus.php
1 <?php\r
2         include ('lib/twitese.php');\r
3         $title = "Nexus";\r
4         include ('inc/header.php');     \r
5         if (!loginStatus()) header('location: login.php');      \r
6 ?>\r
7 <style type="text/css">\r
8 #analyze {\r
9 display: block; \r
10 float: left; \r
11 width: 200px; \r
12 margin-left: 145px; \r
13 margin-top: 20px; \r
14 height: 40px;\r
15 background-color:#FFFFFF;\r
16 background-image:url("../img/more.gif");\r
17 background-position:left top;\r
18 background-repeat:repeat-x;\r
19 border-color:#DDDDDD #AAAAAA #AAAAAA #DDDDDD;\r
20 border-style:solid;\r
21 border-width:1px;\r
22 color:#666666;\r
23 display:block;\r
24 font-family:Tahoma,Arial,sans-serif;\r
25 font-size:14px;\r
26 font-weight:700;\r
27 letter-spacing:1px;\r
28 line-height:1.5em;\r
29 margin-bottom:6px;\r
30 outline-style:none;\r
31 outline-width:medium;\r
32 text-align:center;\r
33 text-shadow:1px 1px 1px #FFFFFF;\r
34 }\r
35 #analyze:hover {\r
36 background-position:left -78px;\r
37 border:1px solid #BBBBBB;\r
38 text-decoration:none;\r
39 }\r
40 #analyze:active {\r
41 background-position:left -38px;\r
42 color:#666666;\r
43 }\r
44 #analyze.loading  {\r
45 background-color:transparent;\r
46 background-image:url("../img/ajax.gif");\r
47 background-position:50% 50%;\r
48 background-repeat:no-repeat;\r
49 border:medium none;\r
50 cursor:default !important;\r
51 }\r
52 #analyze::-moz-focus-inner {\r
53 border:0 none;}\r
54 #users  {\r
55 box-shadow:0 2px 10px #333333; \r
56 -webkit-box-shadow: 0 2px 10px #333333;\r
57 -moz-box-shadow: 0 2px 10px #333333;\r
58 background:url("../img/bg-front.gif") repeat-x scroll 0 bottom transparent;\r
59 display:block;\r
60 float:left;\r
61 margin-bottom:10px;\r
62 margin-left:25px;\r
63 margin-top:25px;\r
64 padding:15px 15px 20px 0;\r
65 width:480px;\r
66 }\r
67 #users h2 {\r
68 background:url("../img/nexus_logo.png") no-repeat scroll 0 0 transparent;\r
69 color:#666666;\r
70 height:44px;\r
71 margin:0 0 0 15px;\r
72 text-indent:-9999em;\r
73 width:117px;\r
74 }\r
75 #descr {display: block; float: left; clear: both; text-shadow: 1px 1px rgb(238, 238, 238); margin: 10px 0 15px 15px; color: rgb(51, 51, 51);font-size:12px}\r
76 .at_sym_1 {display: block; float: left; vertical-align: middle; clear: both; margin-top: 7px; font-size: 14px; margin-left: 55px; color: rgb(51, 51, 51);}\r
77 .at_sym_2 {display: block; float: left; margin-left: 15px; vertical-align: middle; font-size: 14px; margin-top: 7px; color: rgb(51, 51, 51);}\r
78 .and_sym {display: block; float: left; margin-left: 15px; vertical-align: middle; font-weight: bold; font-size: 14px; margin-top: 7px; color: rgb(102, 102, 102);}\r
79 .user_input {\r
80 border:1px solid #A7A6AA;\r
81 color:#666666;\r
82 display:block;\r
83 float:left;\r
84 font-family:tahoma;\r
85 font-size:14px;\r
86 font-weight:bold;\r
87 letter-spacing:1px;\r
88 margin-left:5px;\r
89 margin-top:3px;\r
90 padding:5px;\r
91 vertical-align:top;\r
92 width:130px;\r
93 }\r
94 #result {\r
95 display:block;\r
96 float:left;\r
97 width:460px;\r
98 height:200px;\r
99 margin-left:20px;\r
100 margin-top:10px;\r
101 }\r
102 .intro  {\r
103 background:url("../img/nexus_intro.png") no-repeat scroll 0 0 transparent;\r
104 }\r
105 .sect {\r
106 box-shadow:0px 0px 5px #c2c2c2; \r
107 -webkit-box-shadow: 0px 0px 5px #c2c2c2;\r
108 -moz-box-shadow: 0px 0px 5px #c2c2c2;\r
109 display: block; \r
110 float: left; \r
111 height: 0px; \r
112 margin-left: 15px; \r
113 color: #EEEEEE; \r
114 width: 464px; \r
115 margin-top: 10px;\r
116 }\r
117 #result h3  {\r
118 color:red;\r
119 display:block;\r
120 font-size:20px;\r
121 margin-top:90px;\r
122 margin-left:0 !important;\r
123 text-align:center;\r
124 }\r
125 </style>\r
126 <script type="text/javascript" src="js/nexus.js"></script>\r
127 <div id="statuses" class="column round-left">\r
128 <div class="round" id="users">\r
129 <h2>\r
130 <span>Nexus</span>\r
131 </h2>\r
132 <hr class="sect" />\r
133 <p id="result" class="intro"></p>\r
134 <p id="descr">Rabr Nexus is a tool helps you analyze relationships between you or the others.</p>\r
135 <label class="at_sym_1">@</label>\r
136 <input type="text" id="user_1" name="user_1" class="user_input" onfocus="this.select()" onmouseover="this.focus()" value="<?php if (isset($_GET['target'])) echo $_GET['target'] ?>" />\r
137 <label class="and_sym">and</label>\r
138 <label class="at_sym_2">@</label>\r
139 <input type="text" id="user_2" name="user_2" class="user_input" onfocus="this.select()" onmouseover="this.focus()" value="<?php if (isset($_GET['source'])) echo $_GET['source'] ?>"/>\r
140 <input type="submit" id="analyze" class="round" value="Analyze" />\r
141 </div>\r
142 </div>\r
143 \r
144 <?php \r
145         include ('inc/sidebar.php');\r
146 ?>\r
147 \r
148 <?php \r
149         include ('inc/footer.php');\r
150 ?>\r