Bhikkhu-Kosalla 5 лет назад
Родитель
Сommit
1bdec8b4a3
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      app/course/list_new.php
  2. 1 0
      app/studio/css/style.css

+ 1 - 1
app/course/list_new.php

@@ -8,7 +8,7 @@ require_once '../ucenter/function.php';
 
 global $PDO;
 PDO_Connect("sqlite:"._FILE_DB_COURSE_);
-$query = "select * from course where 1  order by create_time DESC limit 0,4";
+$query = "select * from course where 1  order by modify_time DESC limit 0,4";
 $Fetch = PDO_FetchAll($query);
 
 foreach($Fetch as $row){

+ 1 - 0
app/studio/css/style.css

@@ -496,6 +496,7 @@ a:active {
   float: left;
   margin: 0 0 0.2em 0;
   padding-right: 0;
+  max-width: 60vw;
   pagebreakinside: avoid;
 }