forked from lizihan021/JIbbs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from SJTU-UMJI-Tech/develop
Release v0.1.0
- Loading branch information
Showing
45 changed files
with
503 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | ||
|
||
class Module extends Front_Controller | ||
{ | ||
public function __construct() | ||
{ | ||
parent::__construct(); | ||
$this->load->model('module_model'); | ||
} | ||
|
||
private function view($id) | ||
{ | ||
$data['site_title'] = '模块'; | ||
$module_name_array = $this->module_model->get_module_arr(); | ||
$data['module_name_array'] = json_encode($module_name_array); | ||
if ($id == NULL) | ||
{ | ||
$data['module_now'] = 1; | ||
} | ||
else if ($id[0] < 1) | ||
{ | ||
$data['module_now'] = 1; | ||
} | ||
else if ($id[0] > count($module_name_array)) | ||
{ | ||
$data['module_now'] = count($module_name_array); | ||
} | ||
else | ||
{ | ||
$data['module_now'] = $id[0]; | ||
} | ||
$this->load->view('module', $data); | ||
} | ||
|
||
public function _remap($id) | ||
{ | ||
$this->view($id); | ||
} | ||
|
||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<dwsync> | ||
<file name="user.php" server="G:/github/JIBBS/" local="131039936052312317" remote="131039936050000000" Dst="0" /> | ||
<file name="Welcome.php" server="G:/github/JIBBS/" local="131017401272180013" remote="131017401270000000" Dst="0" /> | ||
<file name="Welcome.php" server="G:/github/JIBBS/" local="131027578114604894" remote="131027578110000000" Dst="0" /> | ||
<file name="index.html" server="G:/github/JIBBS/" local="131009634156090000" remote="131009634150000000" Dst="0" /> | ||
<file name="User.php" server="G:/github/JIBBS/" local="131015783281031959" remote="131015783280000000" Dst="0" /> | ||
<file name="Ajax.php" server="G:/github/JIBBS/" local="131039873444940509" remote="131039873440000000" Dst="0" /> | ||
<file name="User.php" server="G:/github/JIBBS/" local="131046815803495305" remote="131046815800000000" Dst="0" /> | ||
<file name="Ajax.php" server="G:/github/JIBBS/" local="131046815803485285" remote="131046815800000000" Dst="0" /> | ||
<file name="Mailtest.php" server="G:/github/JIBBS/" local="131022297098048529" remote="131022297090000000" Dst="0" /> | ||
<file name="Topic.php" server="G:/github/JIBBS/" local="131039881683631203" remote="131039881680000000" Dst="0" /> | ||
<file name="Member.php" server="G:/github/JIBBS/" local="131039881680000000" remote="131039881680000000" Dst="0" /> | ||
<file name="Member.php" server="G:/github/JIBBS/" local="131046914720876570" remote="131046914720000000" Dst="0" /> | ||
<file name="Module.php" server="G:/github/JIBBS/" local="131046937550000000" remote="131046937550000000" Dst="0" /> | ||
</dwsync> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<dwsync> | ||
<file name="user_register.php" server="G:/github/JIBBS/" local="131039873359889762" remote="131039873350000000" Dst="0" /> | ||
<file name="user_login.php" server="G:/github/JIBBS/" local="131039873359879755" remote="131039873350000000" Dst="0" /> | ||
<file name="home.php" server="G:/github/JIBBS/" local="131039873445035585" remote="131039873440000000" Dst="0" /> | ||
<file name="user_register.php" server="G:/github/JIBBS/" local="131046919905396226" remote="131046919900000000" Dst="0" /> | ||
<file name="user_login.php" server="G:/github/JIBBS/" local="131046919905195947" remote="131046919900000000" Dst="0" /> | ||
<file name="home.php" server="G:/github/JIBBS/" local="131046974818461296" remote="131046974810000000" Dst="0" /> | ||
<file name="index.html" server="G:/github/JIBBS/" local="131009634156265121" remote="131009634150000000" Dst="0" /> | ||
<file name="topic.php" server="G:/github/JIBBS/" local="131039873445070610" remote="131039873440000000" Dst="0" /> | ||
<file name="user_avatar.php" server="G:/github/JIBBS/" local="131039873350000000" remote="131039873350000000" Dst="0" /> | ||
<file name="user_settings.php" server="G:/github/JIBBS/" local="131039914880000000" remote="131039914880000000" Dst="0" /> | ||
<file name="topic.php" server="G:/github/JIBBS/" local="131046928702190060" remote="131046928700000000" Dst="0" /> | ||
<file name="user_avatar.php" server="G:/github/JIBBS/" local="131046919905025800" remote="131046919900000000" Dst="0" /> | ||
<file name="user_settings.php" server="G:/github/JIBBS/" local="131046919905616379" remote="131046919900000000" Dst="0" /> | ||
<file name="member.php" server="G:/github/JIBBS/" local="131046915957237870" remote="131046915950000000" Dst="0" /> | ||
<file name="topic_add.php" server="G:/github/JIBBS/" local="131046937973019698" remote="131046937970000000" Dst="0" /> | ||
<file name="module.php" server="G:/github/JIBBS/" local="131046937970000000" remote="131046937970000000" Dst="0" /> | ||
</dwsync> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<dwsync> | ||
<file name="header_common.php" server="G:/github/JIBBS/" local="131039942847590380" remote="131039942840000000" Dst="0" /> | ||
<file name="text_validation.php" server="G:/github/JIBBS/" local="131023435159415835" remote="131023435150000000" Dst="0" /> | ||
<file name="sidebar_common.php" server="G:/github/JIBBS/" local="131039873359849733" remote="131039873350000000" Dst="0" /> | ||
<file name="footer_common.php" server="G:/github/JIBBS/" local="131023435159395816" remote="131023435150000000" Dst="0" /> | ||
<file name="generate.php" server="G:/github/JIBBS/" local="131039873444995548" remote="131039873440000000" Dst="0" /> | ||
<file name="header_syntaxhighlighter.php" server="G:/github/JIBBS/" local="131029501393113184" remote="131029501390000000" Dst="0" /> | ||
<file name="kindeditor.php" server="G:/github/JIBBS/" local="131039877100985378" remote="131039877100000000" Dst="0" /> | ||
<file name="editor_login.php" server="G:/github/JIBBS/" local="131039873444985541" remote="131039873440000000" Dst="0" /> | ||
<file name="generate.php" server="G:/github/JIBBS/" local="131046914720946453" remote="131046914720000000" Dst="0" /> | ||
<file name="footer.php" server="G:/github/JIBBS/" local="131046815803575362" remote="131046815800000000" Dst="0" /> | ||
<file name="header.php" server="G:/github/JIBBS/" local="131046925714532834" remote="131046925710000000" Dst="0" /> | ||
<file name="sidebar.php" server="G:/github/JIBBS/" local="131046976457310687" remote="131046976450000000" Dst="0" /> | ||
</dwsync> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.