Merhaba benim istediğim ekran çözünürlügüne göre php dosyası çalışsın

aşağıdaki kodu buldum çalışıyor
ançak linki değiştiriyor link değiştirmeden bu metodu nasıl kullanabilirim

 <?php

if(!isset($_GET['screen_check']))
{
 /* This code will be executed if screen resolution has not been detected.*/
 echo "<script language='JavaScript'>
 <!-- 
 document.location=\"$PHP_SELF?screen_check=done&Width=\"+screen.width+\"&Height=\"+screen.height;
 //-->
 </script>";
}
else 
{    

$Width=$_GET['Width'];
$Height=$_GET['Height'];


 /* This code will be executed after screen resolution is detected.*/
    if(isset($_GET['Width']) && isset($_GET['Height'])) {
 // Resolution  detected
 echo "<h1>Your screen resolution is ".$_GET['Width']." x ".$_GET['Height'].".</h1><br />";
 //Display page as per resolution
 if(($_GET['Width']>1024)) {
echo include "include/slider-nivo1.php";
 }
 else {
 //Display page as per resolution
echo include "include/slider-nivo.php";
 }
     }
     else {
               // Resolution not detected
     }
}
?>