Отказ от абсолютных ссылок https://new-combats.com/* к относительным /*. Замена https://img.new-combats.com на //img.new-combats.tech.
This commit is contained in:
+19
-20
@@ -202,16 +202,16 @@ html,body {margin: 0px!important; padding: 0px !important; background-color:#404
|
||||
#adm .title { font-size:15px; padding:6px 20px 2px 20px;background-color:white; border-bottom:1px solid #8c8c8c; height:24px; }
|
||||
#adm .title .left { float:left;}
|
||||
#adm .title .right { float:right;}
|
||||
#adm .title .button { border:1px solid #bebebe; font-family:"Minion Pro", Times, "Times New Roman", serif; margin:0px 3px; padding: 1px 15px; font-size: 13px; border-radius:12px; background:url('//img.new-combats.com/admin/adm_inputs_bg.png') no-repeat center center;}
|
||||
#adm .menu { font-size:16px; padding:0px 20px;background:url('//img.new-combats.com/admin/adm_menu_bg.png') repeat-x top; height:28px;}
|
||||
#adm .title .button { border:1px solid #bebebe; font-family:"Minion Pro", Times, "Times New Roman", serif; margin:0px 3px; padding: 1px 15px; font-size: 13px; border-radius:12px; background:url('//img.new-combats.tech/admin/adm_inputs_bg.png') no-repeat center center;}
|
||||
#adm .menu { font-size:16px; padding:0px 20px;background:url('//img.new-combats.tech/admin/adm_menu_bg.png') repeat-x top; height:28px;}
|
||||
#adm .menu a { font-weight: normal; text-decoration:none; padding:4px 8px; margin:0px 3px; color: #404040;height:20px; display:inline-block; }
|
||||
#adm .menu a:hover, #adm .menu a.active { text-decoration:underline; color:#f7f7f7; background:url('//img.new-combats.com/admin/adm_menu_bg-active.png') repeat-x top;}
|
||||
#adm .menu a:hover, #adm .menu a.active { text-decoration:underline; color:#f7f7f7; background:url('//img.new-combats.tech/admin/adm_menu_bg-active.png') repeat-x top;}
|
||||
#adm .content { margin: 8px 0px; border:0px; width:100%; display: table;}
|
||||
#adm .content .cell { vertical-align:top; margin:0px; padding:0px; }
|
||||
#adm .content .cell .t { background:#eaeaea; margin:0px;}
|
||||
#adm .content .cell.right { width:350px; }
|
||||
#adm .content .cell .t.right { margin:0px 10px !important; }
|
||||
#adm .content .cell .t.right .f { background:url('//img.new-combats.com/admin/adm_bg-create.png') no-repeat top right; padding:10px 14px; width:350px; }
|
||||
#adm .content .cell .t.right .f { background:url('//img.new-combats.tech/admin/adm_bg-create.png') no-repeat top right; padding:10px 14px; width:350px; }
|
||||
#adm .content .cell .t.left { padding:10px 20px 10px 0px !important; }
|
||||
form .newpost input, form .newpost textarea, form .newpost select{ padding:2px 4px; border-radius: 5px;color: #7E4007;font-size: 10pt;}
|
||||
.linegrad_answer {
|
||||
@@ -242,15 +242,15 @@ form .newpost input, form .newpost textarea, form .newpost select{ padding:2px 4
|
||||
border-bottom: 1px solid #DBDBDB;
|
||||
border-right: 3px solid #B3B3B3;
|
||||
}
|
||||
.userPost { padding: 8px 20px; background:url('//img.new-combats.com/admin/user_post-old.png') no-repeat top right; }
|
||||
.userPost.hot{ background:url('//img.new-combats.com/admin/user_post-hot.png') no-repeat top right; }
|
||||
.userPost.new { background:url('//img.new-combats.com/admin/user_post-new.png') no-repeat top right; }
|
||||
.admPost { padding: 8px 20px; background:url('//img.new-combats.com/admin/adm_post-old.png') no-repeat bottom left; }
|
||||
.admPost.hot{ background:url('//img.new-combats.com/admin/adm_post-hot.png') no-repeat bottom left; }
|
||||
.admPost.new { background:url('//img.new-combats.com/admin/adm_post-new.png') no-repeat bottom left; }
|
||||
.moderPost { padding: 8px 20px; background:url('//img.new-combats.com/admin/moder_post-old.png') no-repeat bottom left; }
|
||||
.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; }
|
||||
.userPost { padding: 8px 20px; background:url('//img.new-combats.tech/admin/user_post-old.png') no-repeat top right; }
|
||||
.userPost.hot{ background:url('//img.new-combats.tech/admin/user_post-hot.png') no-repeat top right; }
|
||||
.userPost.new { background:url('//img.new-combats.tech/admin/user_post-new.png') no-repeat top right; }
|
||||
.admPost { padding: 8px 20px; background:url('//img.new-combats.tech/admin/adm_post-old.png') no-repeat bottom left; }
|
||||
.admPost.hot{ background:url('//img.new-combats.tech/admin/adm_post-hot.png') no-repeat bottom left; }
|
||||
.admPost.new { background:url('//img.new-combats.tech/admin/adm_post-new.png') no-repeat bottom left; }
|
||||
.moderPost { padding: 8px 20px; background:url('//img.new-combats.tech/admin/moder_post-old.png') no-repeat bottom left; }
|
||||
.moderPost.hot{ background:url('//img.new-combats.tech/admin/moder_post-hot.png') no-repeat bottom left; }
|
||||
.moderPost.new { background:url('//img.new-combats.tech/admin/moder_post-new.png') no-repeat bottom left; }
|
||||
</style>
|
||||
<?php
|
||||
if(!isset($_GET['post'])) { $formTitle='СОЗДАТЬ СООБЩЕНИЕ'; $formButton='Задать вопрос';} else { $postLink='&post='.$_GET['post']; $formTitle='ОТВЕТИТЬ В ТЕМЕ'; $formButton='Ответить в теме';}
|
||||
@@ -323,10 +323,9 @@ if($data OR $u->info['admin']>0){ // if moder or admin
|
||||
if(strlen($r['title'])>=1){ $title="<b>«".$r['title']."»</b>"; } else { $title="<b>«Отсутствует»</b>"; }
|
||||
|
||||
$func="";
|
||||
$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=read\"><img src=\"//img.new-combats.com/admin/read.png\" height=\"16\"/></a>"; // Отметить - Я прочитал
|
||||
if($u->info['admin']>0 OR $data)$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=update\"><img src=\"//img.new-combats.com/admin/update.png\" height=\"16\"/></a>"; // Вернуть отметку - Я не прочел
|
||||
//if($u->info['admin']>0 OR $data)$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=edit\"><img src=\"//img.new-combats.com/admin/edit.png\" height=\"16\"/></a>";
|
||||
$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=delete\"><img src=\"//img.new-combats.com/admin/close.png\" height=\"16\"/></a>";
|
||||
$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=read\"><img src=\"//img.new-combats.tech/admin/read.png\" height=\"16\"/></a>"; // Отметить - Я прочитал
|
||||
if($u->info['admin']>0 OR $data)$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=update\"><img src=\"//img.new-combats.tech/admin/update.png\" height=\"16\"/></a>"; // Вернуть отметку - Я не прочел
|
||||
$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=delete\"><img src=\"//img.new-combats.tech/admin/close.png\" height=\"16\"/></a>";
|
||||
|
||||
|
||||
$bug_sid = mysql_query("SELECT * FROM `bags` WHERE `sid`=".$r['id']." ORDER BY time ASC");
|
||||
@@ -389,9 +388,9 @@ if($data OR $u->info['admin']>0){ // if moder or admin
|
||||
$checkPost = bug_classPost($user['admin'],$u->info['id'], $data, $r['readUser'], $r['readAdmin'], $r['readModer'], $r['up']);
|
||||
|
||||
$func="";
|
||||
$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=read\"><img src=\"//img.new-combats.com/admin/read.png\" height=\"16\"/></a>"; // Отметить - Я прочитал
|
||||
$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=update\"><img src=\"//img.new-combats.com/admin/update.png\" height=\"16\"/></a>"; // Вернуть отметку - Я не прочел
|
||||
$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=delete\"><img src=\"//img.new-combats.com/admin/close.png\" height=\"16\"/></a>"; // Закрыть мою тему
|
||||
$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=read\"><img src=\"//img.new-combats.tech/admin/read.png\" height=\"16\"/></a>"; // Отметить - Я прочитал
|
||||
$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=update\"><img src=\"//img.new-combats.tech/admin/update.png\" height=\"16\"/></a>"; // Вернуть отметку - Я не прочел
|
||||
$func.="<a href=\"main.php?bagreport=1&post=".$r['id']."&action=delete\"><img src=\"//img.new-combats.tech/admin/close.png\" height=\"16\"/></a>"; // Закрыть мою тему
|
||||
|
||||
if($r['delete']==1){$thisDelete="<span style='color:red'>Тема закрыта</span> | ";} else {$thisDelete="";}
|
||||
$bug_sid = mysql_query("SELECT * FROM `bags` WHERE `sid`=".$r['id']." ORDER BY time ASC");
|
||||
|
||||
Reference in New Issue
Block a user