SilentLittleCat 7 年之前
父節點
當前提交
064c62a8be
共有 2 個文件被更改,包括 20 次插入20 次删除
  1. 18 18
      .idea/workspace.xml
  2. 2 2
      data/template/3_diy_group_area.tpl.php

+ 18 - 18
.idea/workspace.xml

xqd xqd xqd xqd xqd xqd xqd
@@ -2,7 +2,7 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="deb87e12-87cf-4e37-bffe-bf7390933348" name="Default" comment="">
-      <change beforePath="$PROJECT_DIR$/source/module/group/group_index.php" afterPath="$PROJECT_DIR$/source/module/group/group_index.php" />
+      <change beforePath="$PROJECT_DIR$/data/template/3_diy_group_area.tpl.php" afterPath="$PROJECT_DIR$/data/template/3_diy_group_area.tpl.php" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="TRACKING_ENABLED" value="true" />
@@ -13,7 +13,7 @@
   </component>
   <component name="FileEditorManager">
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="375">
-      <file leaf-file-name="group_index.php" pinned="false" current-in-tab="true">
+      <file leaf-file-name="group_index.php" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/source/module/group/group_index.php">
           <provider selected="true" editor-type-id="text-editor">
             <state relative-caret-position="450">
@@ -23,11 +23,11 @@
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="3_diy_group_area.tpl.php" pinned="false" current-in-tab="false">
+      <file leaf-file-name="3_diy_group_area.tpl.php" pinned="false" current-in-tab="true">
         <entry file="file://$PROJECT_DIR$/data/template/3_diy_group_area.tpl.php">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="403">
-              <caret line="96" column="67" lean-forward="false" selection-start-line="96" selection-start-column="67" selection-end-line="96" selection-end-column="67" />
+            <state relative-caret-position="434">
+              <caret line="97" column="47" lean-forward="true" selection-start-line="97" selection-start-column="47" selection-end-line="97" selection-end-column="47" />
               <folding />
             </state>
           </provider>
@@ -218,8 +218,8 @@
         <option value="$PROJECT_DIR$/config/config_ucenter.php" />
         <option value="$PROJECT_DIR$/source/class/table/table_forum_forumfield.php" />
         <option value="$PROJECT_DIR$/source/class/table/table_forum_forum.php" />
-        <option value="$PROJECT_DIR$/data/template/3_diy_group_area.tpl.php" />
         <option value="$PROJECT_DIR$/source/module/group/group_index.php" />
+        <option value="$PROJECT_DIR$/data/template/3_diy_group_area.tpl.php" />
       </list>
     </option>
   </component>
@@ -334,12 +334,12 @@
       <workItem from="1525275777043" duration="4000" />
       <workItem from="1525612433789" duration="9986000" />
       <workItem from="1525658293907" duration="23514000" />
-      <workItem from="1525701498505" duration="1870000" />
+      <workItem from="1525701498505" duration="2021000" />
     </task>
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="51258000" />
+    <option name="totallyTimeSpent" value="51409000" />
   </component>
   <component name="ToolWindowManager">
     <frame x="-9" y="-9" width="1938" height="1048" extended-state="7" />
@@ -740,6 +740,14 @@
         </state>
       </provider>
     </entry>
+    <entry file="file://$PROJECT_DIR$/source/module/group/group_index.php">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="450">
+          <caret line="150" column="104" lean-forward="true" selection-start-line="150" selection-start-column="104" selection-end-line="150" selection-end-column="104" />
+          <folding />
+        </state>
+      </provider>
+    </entry>
     <entry file="file://$PROJECT_DIR$/source/class/table/table_forum_forum.php">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="398">
@@ -795,16 +803,8 @@
     </entry>
     <entry file="file://$PROJECT_DIR$/data/template/3_diy_group_area.tpl.php">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="403">
-          <caret line="96" column="67" lean-forward="false" selection-start-line="96" selection-start-column="67" selection-end-line="96" selection-end-column="67" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/source/module/group/group_index.php">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="450">
-          <caret line="150" column="104" lean-forward="true" selection-start-line="150" selection-start-column="104" selection-end-line="150" selection-end-column="104" />
+        <state relative-caret-position="434">
+          <caret line="97" column="47" lean-forward="true" selection-start-line="97" selection-start-column="47" selection-end-line="97" selection-end-column="47" />
           <folding />
         </state>
       </provider>

+ 2 - 2
data/template/3_diy_group_area.tpl.php

xqd
@@ -96,8 +96,8 @@
             <div class="bm sg-container">
                 <div class="sg-block-title"><h2><?php echo $_GET['province']; ?></h2></div>
                 <div class="sg-area-container">
-                    <?php if(is_array(dunserialize($_G['sg']['group_list']))) { ?>
-                        <?php foreach(dunserialize($_G['sg']['group_list']) as $val) { ?>
+                    <?php if(is_array($_G['sg']['group_list'])) { ?>
+                        <?php foreach($_G['sg']['group_list'] as $val) { ?>
                             <div>
                                 <a href="forum.php?mod=group&fid=<?php echo $val['fid'];?>">
                                     <img src="<?php echo $val['icon'];?>" width="48" height="48">