Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
sx-prize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f12c9a31
authored
Jul 16, 2019
by
zhangheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
j
parent
9eb0b04d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
97 additions
and
60 deletions
+97
-60
.idea/inspectionProfiles/Project_Default.xml
+38
-11
.idea/workspace.xml
+57
-47
Application/Home/Controller/IndexController.class.php
+2
-2
No files found.
.idea/inspectionProfiles/Project_Default.xml
View file @
f12c9a31
...
...
@@ -80,7 +80,9 @@
<inspection_tool
class=
"CucumberMissedExamples"
enabled=
"true"
level=
"ERROR"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"CucumberTableInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"CucumberUndefinedStep"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"CyclomaticComplexityJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"CyclomaticComplexityJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_limit"
value=
"10"
/>
</inspection_tool>
<inspection_tool
class=
"DebuggerStatementJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"DefaultNotLastCaseInSwitchJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"DivideByZeroJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
...
...
@@ -118,7 +120,11 @@
<option
name=
"m_ignoreLoopsWithoutConditions"
value=
"false"
/>
</inspection_tool>
<inspection_tool
class=
"ForLoopThatDoesntUseLoopVariableJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"FunctionNamingConventionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"FunctionNamingConventionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_regex"
value=
"[a-z][A-Za-z]*"
/>
<option
name=
"m_minLength"
value=
"4"
/>
<option
name=
"m_maxLength"
value=
"32"
/>
</inspection_tool>
<inspection_tool
class=
"FunctionWithInconsistentReturnsJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"FunctionWithMultipleLoopsJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"FunctionWithMultipleReturnPointsJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
...
...
@@ -159,7 +165,9 @@
</inspection_tool>
<inspection_tool
class=
"HtmlUnknownTarget"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"IfStatementWithIdenticalBranchesJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"IfStatementWithTooManyBranchesJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"IfStatementWithTooManyBranchesJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_limit"
value=
"3"
/>
</inspection_tool>
<inspection_tool
class=
"ImplicitTypeConversion"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"BITS"
value=
"1720"
/>
<option
name=
"FLAG_EXPLICIT_CONVERSION"
value=
"true"
/>
...
...
@@ -235,7 +243,11 @@
<inspection_tool
class=
"LessResolvedByNameOnly"
enabled=
"true"
level=
"WEAK WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"LessUnresolvedMixin"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"LessUnresolvedVariable"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"LocalVariableNamingConventionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"LocalVariableNamingConventionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_regex"
value=
"[a-z][A-Za-z]*"
/>
<option
name=
"m_minLength"
value=
"1"
/>
<option
name=
"m_maxLength"
value=
"32"
/>
</inspection_tool>
<inspection_tool
class=
"LongLine"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"LoopStatementThatDoesntLoopJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"LossyEncoding"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
...
...
@@ -247,7 +259,9 @@
<inspection_tool
class=
"NestedAssignmentJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"NestedConditionalExpressionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"NestedFunctionCallJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"NestedFunctionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"NestedFunctionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_includeAnonymousFunctions"
value=
"false"
/>
</inspection_tool>
<inspection_tool
class=
"NestedSwitchStatementJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"NestingDepthJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_limit"
value=
"5"
/>
...
...
@@ -259,14 +273,20 @@
<inspection_tool
class=
"NpmUsedModulesInstalled"
enabled=
"true"
level=
"WEAK WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"ObjectAllocationIgnoredJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"OctalIntegerJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"OverlyComplexArithmeticExpressionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"OverlyComplexBooleanExpressionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"OverlyComplexArithmeticExpressionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_limit"
value=
"6"
/>
</inspection_tool>
<inspection_tool
class=
"OverlyComplexBooleanExpressionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_limit"
value=
"3"
/>
</inspection_tool>
<inspection_tool
class=
"ParameterNamingConventionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_regex"
value=
"[a-z][A-Za-z]*"
/>
<option
name=
"m_minLength"
value=
"1"
/>
<option
name=
"m_maxLength"
value=
"32"
/>
</inspection_tool>
<inspection_tool
class=
"ParametersPerFunctionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"ParametersPerFunctionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_limit"
value=
"5"
/>
</inspection_tool>
<inspection_tool
class=
"PhingDomInspection"
enabled=
"true"
level=
"ERROR"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"Php7ReadinessInspection"
enabled=
"true"
level=
"ERROR"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"PhpAbstractStaticMethodInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
...
...
@@ -407,7 +427,9 @@
<inspection_tool
class=
"SqlSignatureInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"SqlTypeInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"SqlUnusedVariableInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"StatementsPerFunctionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"StatementsPerFunctionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_limit"
value=
"30"
/>
</inspection_tool>
<inspection_tool
class=
"StringLiteralBreaksHTMLJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"Stylelint"
enabled=
"false"
level=
"ERROR"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"SwitchStatementWithNoDefaultBranchJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
...
...
@@ -443,10 +465,15 @@
<inspection_tool
class=
"UnterminatedStatementJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"ignoreSemicolonAtEndOfBlock"
value=
"true"
/>
</inspection_tool>
<inspection_tool
class=
"UnusedCatchParameterJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"UnusedCatchParameterJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"m_ignoreCatchBlocksWithComments"
value=
"false"
/>
</inspection_tool>
<inspection_tool
class=
"UnusedDefine"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"VoidExpressionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"W3CssValidation"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"W3CssValidation"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"myCssVersion"
value=
"css3"
/>
<option
name=
"myIgnoreVendorSpecificProperties"
value=
"false"
/>
</inspection_tool>
<inspection_tool
class=
"WithStatementJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"XHTMLIncompatabilitiesJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"XmlDuplicatedId"
enabled=
"true"
level=
"ERROR"
enabled_by_default=
"true"
/>
...
...
.idea/workspace.xml
View file @
f12c9a31
...
...
@@ -5,8 +5,6 @@
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml"
afterPath=
"$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
afterPath=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Application/User/Controller/ReportController.class.php"
afterPath=
"$PROJECT_DIR$/Application/User/Controller/ReportController.class.php"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Public/static/js/index.js"
afterPath=
"$PROJECT_DIR$/Public/static/js/index.js"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
...
...
@@ -26,18 +24,18 @@
<file
leaf-file-name=
"index.html"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
460
"
>
<state
relative-caret-position=
"
1767
"
>
<caret
line=
"93"
column=
"37"
lean-forward=
"false"
selection-start-line=
"93"
selection-start-column=
"37"
selection-end-line=
"93"
selection-end-column=
"37"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"Index_index.tpl"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"Index_index.tpl"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
41
8"
>
<caret
line=
"
22"
column=
"16"
lean-forward=
"true"
selection-start-line=
"22"
selection-start-column=
"16"
selection-end-line=
"22"
selection-end-column=
"16
"
/>
<state
relative-caret-position=
"
22
8"
>
<caret
line=
"
12"
column=
"33"
lean-forward=
"false"
selection-start-line=
"12"
selection-start-column=
"33"
selection-end-line=
"12"
selection-end-column=
"33
"
/>
<folding
/>
</state>
</provider>
...
...
@@ -46,8 +44,8 @@
<file
leaf-file-name=
"index.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Public/static/js/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
279
"
>
<caret
line=
"28"
column=
"31"
lean-forward=
"
tru
e"
selection-start-line=
"28"
selection-start-column=
"31"
selection-end-line=
"28"
selection-end-column=
"31"
/>
<state
relative-caret-position=
"
532
"
>
<caret
line=
"28"
column=
"31"
lean-forward=
"
fals
e"
selection-start-line=
"28"
selection-start-column=
"31"
selection-end-line=
"28"
selection-end-column=
"31"
/>
<folding
/>
</state>
</provider>
...
...
@@ -56,8 +54,8 @@
<file
leaf-file-name=
"IndexController.class.php"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
266
"
>
<caret
line=
"
21"
column=
"0"
lean-forward=
"true"
selection-start-line=
"21"
selection-start-column=
"0"
selection-end-line=
"21"
selection-end-column=
"0
"
/>
<state
relative-caret-position=
"
152
"
>
<caret
line=
"
48"
column=
"18"
lean-forward=
"true"
selection-start-line=
"48"
selection-start-column=
"18"
selection-end-line=
"48"
selection-end-column=
"18
"
/>
<folding>
<element
signature=
"e#34#44#0#PHP"
expanded=
"true"
/>
</folding>
...
...
@@ -68,7 +66,7 @@
<file
leaf-file-name=
"ControllerTrait.class.php"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/Controller/ControllerTrait.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
209
"
>
<state
relative-caret-position=
"
1900
"
>
<caret
line=
"102"
column=
"13"
lean-forward=
"true"
selection-start-line=
"102"
selection-start-column=
"13"
selection-end-line=
"103"
selection-end-column=
"43"
/>
<folding
/>
</state>
...
...
@@ -78,7 +76,7 @@
<file
leaf-file-name=
"ReportController.class.php"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/User/Controller/ReportController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
1976
"
>
<state
relative-caret-position=
"
80
"
>
<caret
line=
"104"
column=
"5"
lean-forward=
"false"
selection-start-line=
"104"
selection-start-column=
"5"
selection-end-line=
"104"
selection-end-column=
"5"
/>
<folding>
<marker
date=
"1563255647000"
expanded=
"true"
signature=
"2376:2507"
ph=
"select a.id,... user"
/>
...
...
@@ -87,6 +85,16 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"Report_index.tpl"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Report_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"228"
>
<caret
line=
"12"
column=
"56"
lean-forward=
"false"
selection-start-line=
"12"
selection-start-column=
"56"
selection-end-line=
"12"
selection-end-column=
"56"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"Check_index.tpl"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Check_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
...
...
@@ -158,8 +166,8 @@
<option
value=
"$PROJECT_DIR$/Application/User/Controller/CheckController.class.php"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
/>
<option
value=
"$PROJECT_DIR$/Application/User/Controller/ReportController.class.php"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
/>
<option
value=
"$PROJECT_DIR$/Public/static/js/index.js"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
/>
</list>
</option>
</component>
...
...
@@ -190,7 +198,6 @@
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"Scratches"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<PATH>
...
...
@@ -487,6 +494,7 @@
</PATH>
</subPane>
</pane>
<pane
id=
"Scratches"
/>
<pane
id=
"Scope"
/>
</panes>
</component>
...
...
@@ -570,24 +578,25 @@
<workItem
from=
"1563254956467"
duration=
"600000"
/>
<workItem
from=
"1563255633794"
duration=
"253000"
/>
<workItem
from=
"1563255994907"
duration=
"30000"
/>
<workItem
from=
"1563256090653"
duration=
"233000"
/>
<workItem
from=
"1563256090653"
duration=
"277000"
/>
<workItem
from=
"1563256430516"
duration=
"44000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"14
536
000"
/>
<option
name=
"totallyTimeSpent"
value=
"14
624
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1440"
height=
"813"
extended-state=
"6"
/>
<editor
active=
"
fals
e"
/>
<editor
active=
"
tru
e"
/>
<layout>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.20
100144
"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.20
386267
"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Event Log"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Database"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"8"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
tru
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.23162274"
sideWeight=
"0.5"
order=
"9"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
fals
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.23162274"
sideWeight=
"0.5"
order=
"9"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"4"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Message"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -916,13 +925,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Report_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Home_signin.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-646"
>
...
...
@@ -970,19 +972,9 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/Controller/ReportController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1976"
>
<caret
line=
"104"
column=
"5"
lean-forward=
"false"
selection-start-line=
"104"
selection-start-column=
"5"
selection-end-line=
"104"
selection-end-column=
"5"
/>
<folding>
<marker
date=
"1563255647000"
expanded=
"true"
signature=
"2376:2507"
ph=
"select a.id,... user"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
460
"
>
<state
relative-caret-position=
"
1767
"
>
<caret
line=
"93"
column=
"37"
lean-forward=
"false"
selection-start-line=
"93"
selection-start-column=
"37"
selection-end-line=
"93"
selection-end-column=
"37"
/>
<folding
/>
</state>
...
...
@@ -998,34 +990,52 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/Controller/ControllerTrait.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
209
"
>
<state
relative-caret-position=
"
1900
"
>
<caret
line=
"102"
column=
"13"
lean-forward=
"true"
selection-start-line=
"102"
selection-start-column=
"13"
selection-end-line=
"103"
selection-end-column=
"43"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Public/static/js/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"532"
>
<caret
line=
"28"
column=
"31"
lean-forward=
"false"
selection-start-line=
"28"
selection-start-column=
"31"
selection-end-line=
"28"
selection-end-column=
"31"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"228"
>
<caret
line=
"12"
column=
"33"
lean-forward=
"false"
selection-start-line=
"12"
selection-start-column=
"33"
selection-end-line=
"12"
selection-end-column=
"33"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
266
"
>
<caret
line=
"
21"
column=
"0"
lean-forward=
"true"
selection-start-line=
"21"
selection-start-column=
"0"
selection-end-line=
"21"
selection-end-column=
"0
"
/>
<state
relative-caret-position=
"
152
"
>
<caret
line=
"
48"
column=
"18"
lean-forward=
"true"
selection-start-line=
"48"
selection-start-column=
"18"
selection-end-line=
"48"
selection-end-column=
"18
"
/>
<folding>
<element
signature=
"e#34#44#0#PHP"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
Public/static/js/index.js
"
>
<entry
file=
"file://$PROJECT_DIR$/
Application/User/Controller/ReportController.class.php
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"279"
>
<caret
line=
"28"
column=
"31"
lean-forward=
"true"
selection-start-line=
"28"
selection-start-column=
"31"
selection-end-line=
"28"
selection-end-column=
"31"
/>
<folding
/>
<state
relative-caret-position=
"80"
>
<caret
line=
"104"
column=
"5"
lean-forward=
"false"
selection-start-line=
"104"
selection-start-column=
"5"
selection-end-line=
"104"
selection-end-column=
"5"
/>
<folding>
<marker
date=
"1563255647000"
expanded=
"true"
signature=
"2376:2507"
ph=
"select a.id,... user"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/
Home/View/default/Index
_index.tpl"
>
<entry
file=
"file://$PROJECT_DIR$/Application/
User/View/default/Report
_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
41
8"
>
<caret
line=
"
22"
column=
"16"
lean-forward=
"true"
selection-start-line=
"22"
selection-start-column=
"16"
selection-end-line=
"22"
selection-end-column=
"1
6"
/>
<state
relative-caret-position=
"
22
8"
>
<caret
line=
"
12"
column=
"56"
lean-forward=
"false"
selection-start-line=
"12"
selection-start-column=
"56"
selection-end-line=
"12"
selection-end-column=
"5
6"
/>
<folding
/>
</state>
</provider>
...
...
Application/Home/Controller/IndexController.class.php
View file @
f12c9a31
...
...
@@ -42,9 +42,9 @@ class IndexController extends Controller
//}
public
function
index
()
{
$openSate
=
M
(
'Sate'
)
->
wher
(
array
(
$openSate
=
M
(
'Sate'
)
->
wher
e
(
array
(
'id'
=>
1
))
->
find
(
'getField
'
);
))
->
getField
(
'sate
'
);
if
(
$openSate
==
0
){
die
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment