source: trunk/www.guidonia.net/wp/wp-content/plugins/odlinks/admin/odl_admin.php@ 44

Last change on this file since 44 was 44, checked in by luciano, 15 years ago
File size: 828 bytes
Line 
1<?php
2
3/*
4 * odl_main.php
5 * @author Mohammad Forgani
6 * wordpress plugin website directory project
7 * @copyright Copyright 2008, Oh Jung-Su
8 * @version 1.0
9 * @link http://www.forgani.com
10*/
11
12
13
14function odlinksadmin_page(){
15 global $_GET, $_POST, $PHP_SELF, $user_level, $wpdb, $odlinksuser_level, $odlinksversion;
16
17 get_currentuserinfo();
18
19 $odlinkssettings = get_option('odlinksdata');
20
21 ?>
22 <div class="wrap">
23 <h2>
24 <?php echo $pagelabel;?>
25 </h2>
26
27 <?php
28 switch ($_REQUEST['odlinks_admin_page_arg']){
29 case "odlinkssettings":
30 default:
31 process_odlinkssettings();
32 break;
33 case "odlinksstructure":
34 process_odlinksstructure();
35 break;
36 case "odlinksposts":
37 process_odlinksposts();
38 break;
39 case "odlinksutilities":
40 process_odlinksutilities();
41 break;
42 }
43 ?>
44 </div>
45 <?php
46
47}
48
49?>
Note: See TracBrowser for help on using the repository browser.