помогите строка выводится в оду строчку ,как сделать так чтоб она выводилась обзацем,ах да и посоветуйте как ограничить ввод символов ,какую конструкцию лучше применить
Код |
<html> <head> <title>сайт памяти колосова алексея</title> <meta name="robot" content="noindex,follow"> <meta http-equiv=content-type content="text/html";charset="windows-1251"> <style> a{text-decoration: none;color:red;font-size:100%;} a:link{color:#DF6B0E;font-weight: bolder;} a:visited{color:#FA8424;font-weight: bolder;} a:focus{color:#8CFBE8;font-weight: bolder;} a:hover{color:#F97104;font-weight: bolder;} a:active{color:#8CFBE8 ;font-weight:bolder;} body { margin-left:opx; margin-right:0px; scrollbar-3dlight-color:#F8B27B ; scrollbar-base-color:#F8B27B ; scrollbar-darksh adow-color:#F8B27B; } h1{text-align:center;color:#E48437;font-size:100%;font-weight:bolder;} h2{text-align:center;color:#E48437;font-size:300%;font-weight:bolder;} h3{text-align:center;color:#E48437;font-size:100%;} h4{text-align:center;color:#E48437;font-size:80%;} .h5{text-align:left;color:#E48437;font-size:100%;} </style> </head> <body bgcolor=#E4B289> <table align=left border=2 bgcolor=#E8A36B> <tr><td> <a href="index.php">на главную</a> </tr></td><tr><td> <a href="about.php">его звали Моган</a> </tr></td><tr><td> <a href="tvorchestvo.php">творчество</a> </tr></td><tr><td> <a href="ss.php">ссылки</a> </tr></td><tr><td> <a href="gest.php">гостевая</a> </tr></td> </table>
<table align=right border=2 width=80% height=100% bgcolor=#F7CBA8> <tr><td valign=left> <hr size=3 color="#EFAA74"> <h2>гостевая</h2> <hr size=3 color="#EFAA74"> <?php $path = getcwd(); $direct = $path.'/ot'; $a = opendir($direct); while ($files = readdir($a)) { if ($files == '.' || $files == '..') { continue; } $b[] = $files; } if (sizeof($b) > 0) { rsort($b); foreach ($b as $k) { $file = fopen($direct.'/'.$k, 'r'); $v=fread($file, filesize($direct.'/'.$k)); $mas=explode('/',$v); $a=$mas[0]; $b=$mas[1]; $c=$mas[2]; echo("<br>"\n$a\n"<br>"); echo("<br>"\n$b\n\n"<br>"); echo("<br>"\n$c\n\n"<br>");
fclose($file); } } ?>
|
|