Замена short_tags и <?php echo.

This commit is contained in:
2023-03-31 19:54:33 +03:00
parent fdf063d527
commit 1b5bf26294
214 changed files with 3978 additions and 4014 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ form .newpost input, form .newpost textarea, form .newpost select{ padding:2px 4
.moderPost.hot{ background:url('//img.new-combats.com/admin/moder_post-hot.png') no-repeat bottom left; }
.moderPost.new { background:url('//img.new-combats.com/admin/moder_post-new.png') no-repeat bottom left; }
</style>
<?
<?php
if(!isset($_GET['post'])) { $formTitle='СОЗДАТЬ СООБЩЕНИЕ'; $formButton='Задать вопрос';} else { $postLink='&post='.$_GET['post']; $formTitle='ОТВЕТИТЬ В ТЕМЕ'; $formButton='Ответить в теме';}
$formcreate='<h2 style="font-size:16px; padding-left:20px; font-weight:bold; color: #404040; margin:0px; text-transform:uppercase;">'.$formTitle.'</h2>
<form style="color: #3F2A11;" method="post" action="main.php?bagreport=1&action=create'.$postLink.'">