• توجه: در صورتی که از کاربران قدیمی ایران انجمن هستید و امکان ورود به سایت را ندارید، میتوانید با آیدی altin_admin@ در تلگرام تماس حاصل نمایید.

کد صفحه 404

Mahdi Askari

مدير فنی
خب امروز حوصلم سر رفته بود نشستم و کد صفحه 404 رو شخصی سازی کردم
هر چند زیاد قشنگ نشده ولی داری جستجو و لینکهایی هست که میتونید برای بیننده تنظیم کنید


دموی زنده


از این کد ها میتونید استفاده کنید

کد:
<html>
<head>
 <style>
body{margin:0;font-family: Tahoma;background:#fff url('bg.gif') repeat;}
.bg{width:700px;height:550px} .not{width:400px;height:50px} .link{    cursor: pointer;

       background: url("http://up.iranjoman.com/images/3pfmlv5zazcoou30dsrf.png") repeat-x scroll 0% 0% rgb(113, 146, 168);
    box-shadow: 0px 3px 8px rgb(221, 221, 221);
    font: 16px B Koodak;
    color: rgb(255, 255, 255);
    padding: 4px 15px;margin-left:20px;margin-right:218px;
    border: 0px none;
    display: block;
    float: right;
    clear: left;
}

.link1{    padding: 3px 25px 10px 0px;
    transition: all 0s ease-in-out 0s;
       background: url("http://www.iranjoman.com/images/iranjoman/ToolMenu.jpg") repeat scroll 0% 0% rgb(113, 146, 168);
    border-radius: 5px;
    width: 318px;
   margin-top: 20px;
    font-family: B Yekan;
    color: [URL=http://www.iranjoman.com/usertag.php?do=list&action=hash&hash=000]#000[/URL]
    font-size: 13px;margin-right: -10px;
   ;float:right;
    display: none;
}
.link2{
    width: 291px;
    height: 32px;
    float: right;
    background: none repeat scroll 0% 0% rgba(17, 17, 17, 0.26);
    margin: 5px 0px 0px;
    border-radius: 4px 4px 4px 4px;
    font-family: B Koodak;color: [URL=http://www.iranjoman.com/usertag.php?do=list&action=hash&hash=000]#000[/URL]
text-decoration: none;
    font-size: 15px;
}
.link2:hover{color: [URL=http://www.iranjoman.com/usertag.php?do=list&action=hash&hash=000]#000[/URL]
text-shadow: 0px 0px 10px [URL=http://www.iranjoman.com/usertag.php?do=list&action=hash&hash=FC0101]#FC0101[/URL]
-webkit-transition: all 0.4s ;
-moz-transition: all 0.4s ;
-ms-transition: all 0.4s ;
-o-transition: all 0.4s ;
transition: all 0.4s ;
}
.search{ cursor: pointer;
    font-family: B Yekan;
       background: url("http://up.iranjoman.com/images/3pfmlv5zazcoou30dsrf.png") repeat-x scroll 0% 0% rgb(113, 146, 168);
    box-shadow: 0px 3px 8px rgb(221, 221, 221);
    font: 16px B Koodak;
    color: rgb(255, 255, 255);margin-right:20px;margin-left:200px;
    padding: 4px 15px;
    border: 0px none;
    display: block;
    float: right;
    clear: left;
}
.search1{    padding:10px;
    transition: all 0s ease-in-out 0s;
       background: url("http://www.iranjoman.com/images/iranjoman/ToolMenu.jpg") repeat-x scroll 0% 0% rgb(113, 146, 168);
    border-radius: 5px;
    width: 320px;
   margin-top: 20px;
    font-family: B Yekan;text-decoration: none;
    color:[URL=http://www.iranjoman.com/usertag.php?do=list&action=hash&hash=000]#000[/URL]float:left;
    font-size: 13px;
    height: 105px;
    display: none;
}

.form {
    overflow: hidden;
    margin-bottom: 35px;margin-top:15px;
}
#searchform {
background: -moz-linear-gradient(center top , rgb(250, 250, 250) 0%, rgb(238, 238, 238) 100%) repeat scroll 0% 0% transparent;
    width: 278px;
    border: 1px solid rgb(217, 217, 217);
    padding: 10px;
    overflow: hidden;}
.txt{
       background: none repeat scroll 0% 0% transparent;
    border: medium none;
    color: rgb(119, 119, 119);
    font-family: 'B Yekan';
    font-style: italic;direction: rtl;
    width: 240px;
    float: right;
}
}
.search-button {
    width: 16px;
    height: 16px;
    float: left;
}
#searchform #s:focus {
    outline: medium none;
}
 </style>
 

<link href='http://www.font-api.ir/css/B Yekan={font-api.ir}.css' rel='stylesheet' type='text/css'>
<link href='http://www.font-api.ir/css/B Koodak={font-api.ir}.css' rel='stylesheet' type='text/css'>
<title>صفحه مورد نظر یافت نشد</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<body>
<script src="http://iranrazmi.ir/jquery-latest.js"></script>
<script src="http://iranrazmi.ir/404.js"></script>
 <script type="text/javascript">
      
$(document).ready(function(){ 
            
            $(".link").click(function(){ 
            $(".link1").slideToggle();
            

            });
            });
            
            $(document).ready(function(){ 
            
            $(".search").click(function(){ 
            $(".search1").slideToggle();
            

            });
        });    });</script>

<div align="center">
<div class="bg">
<hr style="width: 200px; float: right; margin-top: 38px;margin-right: 80px;">
<font size=70px color=#000 face="B Koodak">
404
</font>
<hr style="width: 200px; float: left; margin-top: 38px;margin-left: 80px;">
<div class="not" style="margin-top: -20px;">
<font size=18px color=#000 face="B Yekan" style="font-size: 22px;">
متاسفانه صفحه مورد نظر یافت نشد
</font><br><br>

<font size=16px color=#000 face="B Yekan" style="font-size: 17px;">
میتوانید از دکمه های زیر برای یافتن مسیر استفاده کنید
</font>

 </div>

<br><br><br><div align="center">
<div class="link">
لینک های مفید</div>

<div class="search">
جستجو در سایت</div></div>

<div class="link1">
<div align="center">

    <a class="link2" href="/">
    صفحه اصلی
    </a>

    

    <a class="link2" href="http://www.iranjoman.com/archive/index.php">
      بایگانی سایت
    </a>

    

    <a class="link2" href="http://www.iranjoman.com/search.php?do=getnew&contenttype=vBForum_Post">
      آخرین ارسالت انجمن
    </a>

    

    <a class="link2" href="http://www.iranjoman.com/sendmessage.php">
      تماس با ما
    </a>

</div></div>

<div class="search1">
میتوانید برای جستجو در سایت از کادر جستجو زیر استفاده کنید

<div class="form"><form id="searchform" action="http://google.com/search" method="get">
<input type="hidden" value="http://iranjoman.com" name="sitesearch"><input class="txt" type="text" size="22" name="q"></input>
<input id="search-button" type="image" value="" src="http://tarmaster.com/wp-content/themes/tarmaster-v1/images/search-button.png" style="margin-right: 20px; margin-top: 3px;"></input></form></div>
</div>

</body>
 

دختر مهتاب

متخصص بخش آموزش خیاطی
خب امروز حوصلم سر رفته بود نشستم و کد صفحه 404 رو شخصی سازی کردم
هر چند زیاد قشنگ نشده ولی داری جستجو و لینکهایی هست که میتونید برای بیننده تنظیم کنید
ببخشیدآقامهدی این کدها کجااستفاده میشه
 

Mahdi Askari

مدير فنی

ببخشیدآقامهدی این کدها کجااستفاده میشه


اگر شما به یک صفحه ای از سایت برید که وجود نداشته باشه
ویا حذف شده باشه ویا آدرس رو اشتباه زده باشید
صفحه ای نشون داده میشه با عنوان 404 صفحه یافت نشد
این جایگزین اون صفحه میشه
نمونه
http://iranrazmi.ir/theme/forum
 

isra

New member
سلام بزرگوار .این صفحه 404 که نوشتین و تو سایت قرار دادین رو من چطوری میتونم برای سایت خودم بکار ببرم.مطمئنا این صفحه نیازبه عکس داره و js و ....من میخوام اگر امکان دارد کل طراحی تون را برام بفرستید تا بتونم رو هاستم بذارمش.همچنین اگر بفرمایید جای این آدرس هایی که دادین مثلا
http://up.iranjoman.com/images/3pfmlv5zazcoou30dsrf.png
و چند تای دیگه باید چی بذارم
ممنون میشم اگر کل طراحی این صفحه را برام تو یک فایل فشرده بفرستید و بگید هر کدام رو کجا بذارم
براتون پیغام خصوصی هم گذاشتم.
 

Mahdi Askari

مدير فنی
سلام بزرگوار .این صفحه 404 که نوشتین و تو سایت قرار دادین رو من چطوری میتونم برای سایت خودم بکار ببرم.مطمئنا این صفحه نیازبه عکس داره و js و ....من میخوام اگر امکان دارد کل طراحی تون را برام بفرستید تا بتونم رو هاستم بذارمش.همچنین اگر بفرمایید جای این آدرس هایی که دادین مثلا
http://up.iranjoman.com/images/3pfmlv5zazcoou30dsrf.png
و چند تای دیگه باید چی بذارم
ممنون میشم اگر کل طراحی این صفحه را برام تو یک فایل فشرده بفرستید و بگید هر کدام رو کجا بذارم
براتون پیغام خصوصی هم گذاشتم.

دوست عزیز
در روت اصلی سایتتون یک فایل با پسوند shtml و نام 404 هستکد های بالا رو با کد های اون جایگزین کنید
 
بالا