Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.66 KB | None | 0 0
  1. <?php if (substr($_SERVER['REQUEST_URI'], -1) !== "/" ) {
  2.         $this->uri = $_SERVER['REQUEST_URI'] . '/';
  3.         } else {
  4.         $this->uri = $_SERVER['REQUEST_URI'];
  5.         }
  6.  
  7.         if (substr($this->uri, 0, 8) == '/client/' ) { ?>
  8.  
  9.            
  10.             <link href="<?php echo $this->view_dir;?>css/login-style.css" rel="stylesheet" type="text/css" />
  11.             <link href="<?php echo $this->view_dir;?>css/slick.css" rel="stylesheet" type="text/css" />
  12.        
  13.            
  14.         <?php }
  15.             else{ ?>
  16.             <!-- Main CSS -->
  17.             <link href="<?php echo $this->view_dir;?>css/sb-admin.css" rel="stylesheet">
  18.             <link href="<?php echo $this->view_dir;?>css/styles.css" rel="stylesheet" type="text/css" />
  19.        
  20.         <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement