Changeset 1310069
- Timestamp:
- 12/16/2015 03:32:12 PM (10 years ago)
- File:
-
- 1 edited
-
skedmaker-online-scheduling/trunk/admin_home.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
skedmaker-online-scheduling/trunk/admin_home.php
r1014373 r1310069 28 28 // Get the page to show. If it's blank, make it home page 29 29 if($_GET['v']==""){$view='home';}else{$view=$_GET['v'];} 30 30 31 if($view==""){$view="home";} 31 32 echo "<br><br>"; 32 include(plugin_dir_path( __FILE__ ) . "_admin/_".$view.".php"); 33 34 function SM_pro_msg($page, $btn){ 35 global $sm_btns_dir; 36 global $smadmin; 37 echo "<span class='redText' style='font-size:18px;'><img src='".$sm_btns_dir.$btn."' class='btn'>".$page." is only available with Skedmaker PRO.</span><br><br>"; 38 echo "<a href='".$smadmin."'>Click here for more information about Skedmaker PRO</a>"; 39 echo "<br><br>"; 40 echo "<a href='".$smadmin."'>Go back to Administration</a>"; 41 42 } 43 44 if($view=="clients" || $view=="reminders" || $view=="search" || $view=="map" || $view=="map2"){ 45 $sm_page=plugin_dir_path( __FILE__ ) . "_admin/pro/_".$view.".php"; 46 }else{ 47 $sm_page=plugin_dir_path( __FILE__ ) . "_admin/_".$view.".php"; 48 } 49 50 if(file_exists($sm_page)){ 51 include($sm_page); 52 }else if($_GET['v']=="map"){ 53 SM_pro_msg("Appointment Map", "btn_map32_reg.png"); 54 }else if($_GET['v']=="clients"){ 55 SM_pro_msg("Client List", "btn_clients32_reg.png"); 56 }else if($_GET['v']=="reminders"){ 57 SM_pro_msg("Sending Reminders", "btn_reminders32_reg.png"); 58 59 }else{ 60 echo "<span class='redText'>Sorry, can not find the page you are looking for.</span><br><br>"; 61 echo "<a href='".$smadmin."'>Go to Skedmaker Administration Page.</a>"; 62 } 33 63 34 64 SM_foot(); ?>
Note: See TracChangeset
for help on using the changeset viewer.