Advertisement
Guest User

Untitled

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