Просмотр файла result.php

Размер файла: 4.66Kb
<?php
include"./config.php";
include"./header.php";
echo'<div class="a">style for Wap-Motor</div><div class="c">Готово!</div><div class="b">Скопируйте то,что находится в рамке ниже и вставьте в файл,отвечающий за стиль.</div><div class="b">
<form action="primer.php" method="post">
<input name="style" value="body{
background-color: '.$_POST['fbcolor'].';
margin: '.$_POST['fmargin'].';
padding: '.$_POST['fpadding'].';
font-family: '.$_POST['ffamily'].';
font-style: '.$_POST['fstyle'].';
font-weight: '.$_POST['fweight'].';
font-size: '.$_POST['fsize'].';
color: '.$_POST['fcolor'].';
text-decoration: '.$_POST['fdecoration'].';
text-align: '.$_POST['falign'].';
}
a:link{
color: '.$_POST['alinkcolor'].';
font-style: '.$_POST['alinkstyle'].';
font-weight: '.$_POST['alinkweight'].';
font-size: '.$_POST['alinksize'].';
text-decoration: '.$_POST['alinkdecoration'].';
}
a:active{
color: '.$_POST['aactivecolor'].';
font-style: '.$_POST['aactivestyle'].';
font-weight: '.$_POST['aactiveweight'].';
font-size: '.$_POST['aactivesize'].';
text-decoration: '.$_POST['aactivedecoration'].';
}
a:visited{color: '.$_POST['avisitedcolor'].';
font-style: '.$_POST['avisitedstyle'].';
font-weight: '.$_POST['avisitedweight'].';
font-size: '.$_POST['avisitedsize'].';
text-decoration: '.$_POST['avisiteddecoration'].';
}
a:link{
color: '.$_POST['ahovercolor'].';
background-color: '.$_POST['ahoverbcolor'].';
font-style: '.$_POST['ahoverstyle'].';
font-weight: '.$_POST['ahoverweight'].';
font-size: '.$_POST['ahoversize'].';
text-decoration: '.$_POST['ahoverdecoration'].';
}
.a{
background-color: '.$_POST['abcolor'].';
margin: '.$_POST['amargin'].';
padding: '.$_POST['apadding'].';
font-style: '.$_POST['astyle'].';
font-weight: '.$_POST['aweight'].';
font-size: '.$_POST['asize'].';
color: '.$_POST['acolor'].';
text-decoration: '.$_POST['adecoration'].';
text-align: '.$_POST['aalign'].';
border-top: '.$_POST['aborderweight'].' '.$_POST['aborderstyle'].' '.$_POST['abordertopcolor'].';
border-right: '.$_POST['aborderweight'].' '.$_POST['aborderstyle'].' '.$_POST['aborderrightcolor'].';
border-left: '.$_POST['aborderweight'].' '.$_POST['aborderstyle'].' '.$_POST['aborderleftcolor'].';
border-bottom: '.$_POST['aborderweight'].' '.$_POST['aborderstyle'].' '.$_POST['aborderbottomcolor'].';
}
.b{
background-color: '.$_POST['bbcolor'].';
margin: '.$_POST['bmargin'].';
padding: '.$_POST['bpadding'].';
font-style: '.$_POST['bstyle'].';
font-weight: '.$_POST['bweight'].';
font-size: '.$_POST['bsize'].';
color: '.$_POST['bcolor'].';
text-decoration: '.$_POST['bdecoration'].';
text-align: '.$_POST['balign'].';
border-top: '.$_POST['bborderweight'].' '.$_POST['bborderstyle'].' '.$_POST['bbordertopcolor'].';
border-right: '.$_POST['bborderweight'].' '.$_POST['bborderstyle'].' '.$_POST['bborderrightcolor'].';
border-left: '.$_POST['bborderweight'].' '.$_POST['bborderstyle'].' '.$_POST['bborderleftcolor'].';
border-bottom: '.$_POST['bborderweight'].' '.$_POST['bborderstyle'].' '.$_POST['bborderbottomcolor'].';
}
.c{
background-color: '.$_POST['cbcolor'].';
margin: '.$_POST['cmargin'].';
padding: '.$_POST['cpadding'].';
font-style: '.$_POST['cstyle'].';
font-weight: '.$_POST['cweight'].';
font-size: '.$_POST['csize'].';
color: '.$_POST['ccolor'].';
text-decoration: '.$_POST['cdecoration'].';
text-align: '.$_POST['calign'].';
border-top: '.$_POST['cborderweight'].' '.$_POST['cborderstyle'].' '.$_POST['cbordertopcolor'].';
border-right: '.$_POST['cborderweight'].' '.$_POST['cborderstyle'].' '.$_POST['cborderrightcolor'].';
border-left: '.$_POST['cborderweight'].' '.$_POST['cborderstyle'].' '.$_POST['cborderleftcolor'].';
border-bottom: '.$_POST['cborderweight'].' '.$_POST['cborderstyle'].' '.$_POST['cborderbottomcolor'].';
}
.d{
background-color: '.$_POST['dbcolor'].';
margin: '.$_POST['dmargin'].';
padding: '.$_POST['dpadding'].';
font-style: '.$_POST['dstyle'].';
font-weight: '.$_POST['dweight'].';
font-size: '.$_POST['dsize'].';
color: '.$_POST['dcolor'].';
text-decoration: '.$_POST['ddecoration'].';
text-align: '.$_POST['dalign'].';
border-top: '.$_POST['dborderweight'].' '.$_POST['dborderstyle'].' '.$_POST['dbordertopcolor'].';
border-right: '.$_POST['dborderweight'].' '.$_POST['dborderstyle'].' '.$_POST['dborderrightcolor'].';
border-left: '.$_POST['dborderweight'].' '.$_POST['dborderstyle'].' '.$_POST['dborderleftcolor'].';
border-bottom: '.$_POST['dborderweight'].' '.$_POST['dborderstyle'].' '.$_POST['dborderbottomcolor'].';
}"/></div>
<div class="b">
<input value="Посмотреть пример" type="submit"/></form></div>';
include"./footer.php";