Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
sidebar [2013/12/24 18:12]
suyash
sidebar [2014/01/17 15:04]
admin
Line 1: Line 1:
  
-  * [[start|Home]] +  * [[start | Home]] 
-  * [[vigil:​people|People]] +  * [[vigil:​people | People]] 
-  * [[vigil:​research|Research]] +  * [[vigil:​research | Research]] 
-  * [[vigil:​random_projects|Random Projects]]+  * [[vigil:​random_projects | Random Projects]]
   * [[Demos]]   * [[Demos]]
-  * [[vigil:​Visitors]] +  * [[vigil:visitors | Visitors]] 
-  * [[Talks]] +  * [[vigil:talks | Talks]] 
-  * [[vigil:​feedback|Feedback]] +  * [[vigil:​feedback | Feedback]] 
-  * [[vigil:​contact_us|Contact Us]]+  * [[vigil:​contact_us | Contact Us]]
  
 ~~NOCACHE~~ ~~NOCACHE~~
- 
-  * [[internal|Internal Wiki]] 
- 
-<php> 
-if (!empty($_SERVER['​HTTP_CLIENT_IP'​])) ​  //​check ip from share internet 
-    { 
-      $ip=$_SERVER['​HTTP_CLIENT_IP'​];​ 
-    } 
-    elseif (!empty($_SERVER['​HTTP_X_FORWARDED_FOR'​])) ​  //to check ip is pass from proxy 
-    { 
-      $ip=$_SERVER['​HTTP_X_FORWARDED_FOR'​];​ 
-    } 
-    else 
-    { 
-      $ip=$_SERVER['​REMOTE_ADDR'​];​ 
-    } 
-</​php>​ 
  
 <php> <php>
Line 39: Line 22:
 if(!ereg("​(^10.105.1.3$)",​$ip,​$regs)) if(!ereg("​(^10.105.1.3$)",​$ip,​$regs))
 { {
-  echo "<​center><​font size =2><​b>​INTERNAL LINKS</​b></​font></​center>";​ 
   echo "<​hr>";​   echo "<​hr>";​
 +  echo "<​center><​A href='​http://​trellis.cse.iitb.ac.in/​vigil/​doku.php?​id=internal:​internal_links'>​Internal Links</​A></​center>";​
 +
 +//  echo "<​center><​font size =2><​b>​INTERNAL LINKS</​b></​font></​center>";​
 +//  echo "<​hr>";​
    // Create a html file with the desired internal links.    // Create a html file with the desired internal links.
    // Here I assume that it is called internal_links.html    // Here I assume that it is called internal_links.html
    //​echo "<​iframe frameborder=0 src='​internalLink.html'></​iframe>";​    //​echo "<​iframe frameborder=0 src='​internalLink.html'></​iframe>";​
-   echo "<​ul><​LI><​A href='​http://​trellis.cse.iitb.ac.in/​~archive/'>​Lab Work Archive</​A></​LI>";​ +//   echo "<​ul><​LI><​A href='​http://​trellis.cse.iitb.ac.in/​~archive/'>​Lab Work Archive</​A></​LI>";​ 
-   echo "<​LI><​A href='​http://​trellis.cse.iitb.ac.in/​graphics/​doku.php?​id=lab_hours_and_occupancy_schedule'>​Lab Hours and Weekly Schedule</​A></​LI>";​ +//   echo "<​LI><​A href='​http://​trellis.cse.iitb.ac.in/​vigil/​doku.php?​id=internal:lab_hours_and_occupancy_schedule'>​Lab Hours and Weekly Schedule</​A></​LI>";​ 
-   echo "<​LI><​A href='​http://​trellis.cse.iitb.ac.in/​graphics/​doku.php?​id=equipment'>​Equipment</​A></​LI>";​ +//   echo "<​LI><​A href='​http://​trellis.cse.iitb.ac.in/​vigil/​doku.php?​id=internal:equipment'>​Equipment</​A></​LI>";​ 
-   echo "<​LI><​A href='​http://​www.cse.iitb.ac.in/​graphics/LoginCreationRequest.html'>​Login Creation Request</​A></​LI>";​ +//   echo "<​LI><​A href='​http://​www.trellis.iitb.ac.in/​vigil/doku.php?​id=internal:​login_creation_request'>​Login Creation Request</​A></​LI>";​ 
-   echo "<​LI><​A href='​http://​bhim.cse.iitb.ac.in/​mailman/​listinfo/​vigil'>​Mailing List Archive</​A></​LI>";​ +//   echo "<​LI><​A href='​http://​bhim.cse.iitb.ac.in/​mailman/​listinfo/​vigil'>​Mailing List Archive</​A></​LI>";​ 
-   echo "<​LI><​A href='​http://​trellis.cse.iitb.ac.in/​graphics/​doku.php?​id=wiki_faq'>​Wiki FAQ</​A></​LI>";​ +//   echo "<​LI><​A href='​http://​trellis.cse.iitb.ac.in/​vigil/​doku.php?​id=internal:wiki_faq'>​Wiki FAQ</​A></​LI>";​ 
-   echo "<​LI><​A href='​http://​trellis.cse.iitb.ac.in/​graphics/​doku.php?​id=vigil:​faq'>​VIGIL FAQ</​A></​LI>";​ +//   echo "<​LI><​A href='​http://​trellis.cse.iitb.ac.in/​vigil/​doku.php?​id=vigil:​faq'>​VIGIL FAQ</​A></​LI>";​ 
-   echo "<​LI><​A href='​http://​trellis.cse.iitb.ac.in/​graphics/​doku.php?​id=contact:​useful-numbers'>​Useful Numbers</​A></​LI></​ul>";​+//   echo "<​LI><​A href='​http://​trellis.cse.iitb.ac.in/​vigil/​doku.php?​id=contact:​useful-numbers'>​Useful Numbers</​A></​LI></​ul>";​
   }   }
 // Use the following line for debugging the ip addr // Use the following line for debugging the ip addr
 +
 </​php>​ </​php>​