:: vBspiders Professional Network ::

:: vBspiders Professional Network :: (http://www.vbspiders.com/vb/index.php)
-   جـــ'ابات العناكــ'ب (http://www.vbspiders.com/vb/f343.html)
-   -   مساعدة في php (http://www.vbspiders.com/vb/t63488.html)

khiero 07-14-2012 04:50 PM

مساعدة في php
 
3 مرفق
السلام عليكم اخواني ممكن مساعدة منكم
عندي template للتسجيل html-css
كيف اضيف عليه php ويبقى نفس التصميم
html
-------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Modal Login Box</title>
<meta **********="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="description" content="jQuery" />
<meta name="keywords" content="jquery, css3"/>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen"/>
</head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<style>
*{
margin:0;
padding:0;
}
body{
font-family:"Myriad Pro",Arial, Helvetica, sans-serif;
overflow-x:hidden;
}
.overlay{
position:fixed;
z-index:999;
top:0px;
left:0px;
width:100%;
height:100%;
background-color:#000;
opacity:0.7;
}
.modal{
position:absolute;
top:25%;
width:450px;
height:300px;
margin-left:-250px;
z-index:9999;
color:#fff;
text-shadow:1px 1px 1px #000;
border:1px solid #303030;
background-color:#212121;
-moz-box-shadow:0px 0px 10px #000;
-webkit-box-shadow:0px 0px 10px #000;
box-shadow:0px 0px 10px #000;
}
.modal h2{
font-weight:100;
padding:5px 0px 5px 5px;
margin:5px;
background-color:#111;
border:1px solid #272727;
}
.modal h2 img{
float:left;
width:28px;
margin-right:10px;
-moz-box-shadow:0px 0px 4px #000;
-webkit-box-shadow:0px 0px 4px #000;
box-shadow:0px 0px 4px #000;
}

span.close{
background:#000 url(images/close.png) no-repeat center center;
cursor:pointer;
height:25px;
width:25px;
position:absolute;
right:12px;
top:12px;
cursor:pointer;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
opacity:0.5;
}
span.close:hover{
opacity:1.0;
}
.contents {
padding:10px 10px 10px 45px;
}
.button{
display: inline-block;
float:right;
padding: 4px 10px;
background-color: #1951A5;
color:#fff;
margin:20px;
font-size:12px;
letter-spacing:1px;
text-shadow:1px 1px 1px #011c44;
text-transform:uppercase;
text-decoration: none;
border:1px solid #4c7ecb;
outline:none;
background-image:
-moz-linear-gradient(
top,
rgba(255,255,255,0.25),
rgba(255,255,255,0.05)
);
background-image:
-webkit-gradient(
linear,
left top,
left bottom,
color-stop(0, rgba(255,255,255,0.25)),
color-stop(1, rgba(255,255,255,0.05))
);
-moz-box-shadow: 1px 1px 3px #000;
-webkit-box-shadow: 1px 1px 3px #000;
box-shadow: 1px 1px 3px #000;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
.button:hover{
color: #011c44;
text-shadow: 1px 1px 1px #ccdffc;
}
.button:active{
margin-top:21px;
}
h1{font-weight:normal;font-size:20px;color:#aaaaaa;margin:10 0 10px 0;}
p{font-size: 16px;color: #dedede;margin-top:10px;}
a {color:#729e01;text-decoration:none;}
a:hover{color:#dedede;}
input.text{ border:#ccc 1px solid;-moz-border-radius:7px; -webkit-border-radius:7px;font-size: 20px;width:300px;padding-left:5px;}

</style>

<body>
<div id="overlay" class="overlay" style="display:none;"></div>
<div id="modal" class="modal" style="display:none;">
<span class="close"></span>
<h2><img src="images/security.png"/>Login</h2>
<div class="contents">
<h1>Login[Quick Form Processing]</h1>
<form action="" method="POST">
<p><label style="display: block;">Username:</label><input class="text" type="text" name="username" /></p>
<p><label style="display: block;">Password:</label><input class="text" type="password" name="password" /></p>
<p><button class="button" name="login" type="submit">Login</button></p>
</form>
<p><a href="#">Forgot password?</a></p>
</div>
</div>
<div id="popupmodal" style="text-align:center;margin:100px 0px 20px 0px"><a href="#"><h1>Click here to popup Login Modal</h1></a></div>
<script type="text/javascript">
$(function() {
$('#popupmodal a').bind('click',function(e){
var $this = $(this);
$('#overlay').show();
if(!$('#modal').is(':visible'))
$('#modal').css('left','-260px')
.show()
.stop()
.animate({'left':'50%'}, 600);
e.preventDefault(); //default click prevented
});
//clicking on the cross hides the dialog
$('#modal .close').bind('click',function(){
$('#modal').stop()
.animate({'left':'150%'}, 600, function(){
$(this).hide();
$('#overlay').hide();
});
});
});
</script>
</body>
</html>


-------------------------------------------------------------

الصور في المرفقات

fantome195 07-16-2012 01:49 AM

رد: مساعدة في php
 
أللسلام عليكم
معيك الا وضع كودك في البودي
<body>
<?
YOU CODE HERE
?>
<body/>

Sn!!pEr 07-16-2012 08:57 PM

رد: مساعدة في php
 
<a href="#">Forgot password?</a>
-----
هكداا
هنا ضع مكان ملف Forgot password
مثلا :
<a href="forgot.php">Forgot password?</a>

:clap:


الساعة الآن 12:03 AM


[ vBspiders.Com Network ]


SEO by vBSEO 3.6.0