Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkClass($ip){
- $currentIP=$_SERVER['REMOTE_ADDR'];
- if($ip==$currentIP){
- $class="mypost";
- }
- else{
- $class="post";
- }
- return $class;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement