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
9eb0b04d
authored
Jul 16, 2019
by
zhangheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
j
parent
85b305af
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
480 additions
and
111 deletions
+480
-111
.idea/inspectionProfiles/Project_Default.xml
+97
-18
.idea/workspace.xml
+355
-87
Application/Home/Controller/IndexController.class.php
+16
-2
Application/User/Controller/ReportController.class.php
+5
-4
Public/static/js/index.js
+7
-0
No files found.
.idea/inspectionProfiles/Project_Default.xml
View file @
9eb0b04d
...
...
@@ -62,7 +62,15 @@
<inspection_tool
class=
"CssOverwrittenProperties"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"CssRedundantUnit"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"CssUnitlessNumber"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"CssUnknownProperty"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"CssUnknownProperty"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"myCustomPropertiesEnabled"
value=
"false"
/>
<option
name=
"myIgnoreVendorSpecificProperties"
value=
"false"
/>
<option
name=
"myCustomPropertiesList"
>
<value>
<list
size=
"0"
/>
</value>
</option>
</inspection_tool>
<inspection_tool
class=
"CssUnknownTarget"
enabled=
"true"
level=
"ERROR"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"CssUnresolvedClass"
enabled=
"true"
level=
"ERROR"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"CssUnresolvedCustomProperty"
enabled=
"true"
level=
"ERROR"
enabled_by_default=
"true"
/>
...
...
@@ -93,7 +101,9 @@
<inspection_tool
class=
"EmptyCatchBlockJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"EmptyEventHandler"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"EmptyFinallyBlockJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"EmptyStatementBodyJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"EmptyStatementBodyJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"m_reportEmptyBlocks"
value=
"false"
/>
</inspection_tool>
<inspection_tool
class=
"EmptyTryBlockJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"EqualityComparisonWithCoercionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"Eslint"
enabled=
"false"
level=
"ERROR"
enabled_by_default=
"false"
/>
...
...
@@ -104,7 +114,9 @@
<inspection_tool
class=
"FlowJSCoverage"
enabled=
"false"
level=
"WEAK WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"FlowJSError"
enabled=
"false"
level=
"ERROR"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"FlowJSFlagCommentPlacement"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"ForLoopReplaceableByWhileJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"ForLoopReplaceableByWhileJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<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=
"FunctionWithInconsistentReturnsJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
...
...
@@ -121,13 +133,38 @@
<inspection_tool
class=
"HtmlNonExistentInternetResource"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"HtmlPresentationalElement"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"HtmlUnknownAnchorTarget"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"HtmlUnknownAttribute"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"HtmlUnknownAttribute"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"myValues"
>
<value>
<list
size=
"0"
/>
</value>
</option>
<option
name=
"myCustomValuesEnabled"
value=
"true"
/>
</inspection_tool>
<inspection_tool
class=
"HtmlUnknownBooleanAttribute"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"HtmlUnknownTag"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"HtmlUnknownTag"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"myValues"
>
<value>
<list
size=
"6"
>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"nobr"
/>
<item
index=
"1"
class=
"java.lang.String"
itemvalue=
"noembed"
/>
<item
index=
"2"
class=
"java.lang.String"
itemvalue=
"comment"
/>
<item
index=
"3"
class=
"java.lang.String"
itemvalue=
"noscript"
/>
<item
index=
"4"
class=
"java.lang.String"
itemvalue=
"embed"
/>
<item
index=
"5"
class=
"java.lang.String"
itemvalue=
"script"
/>
</list>
</value>
</option>
<option
name=
"myCustomValuesEnabled"
value=
"true"
/>
</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=
"ImplicitTypeConversion"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"ImplicitTypeConversion"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"BITS"
value=
"1720"
/>
<option
name=
"FLAG_EXPLICIT_CONVERSION"
value=
"true"
/>
<option
name=
"IGNORE_NODESET_TO_BOOLEAN_VIA_STRING"
value=
"true"
/>
</inspection_tool>
<inspection_tool
class=
"IncompatibleMaskJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"InconsistentLineSeparators"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"IncrementDecrementResultUsedJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
...
...
@@ -158,16 +195,25 @@
<inspection_tool
class=
"JSLastCommaInObjectLiteral"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSLint"
enabled=
"false"
level=
"ERROR"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"JSMethodCanBeStatic"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSMismatchedCollectionQueryUpdate"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSMismatchedCollectionQueryUpdate"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"queries"
value=
"trace,write,forEach"
/>
<option
name=
"updates"
value=
"pop,push,shift,splice,unshift"
/>
</inspection_tool>
<inspection_tool
class=
"JSNonASCIINames"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSPotentiallyInvalidConstructorUsage"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSPotentiallyInvalidConstructorUsage"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"myConsiderUppercaseFunctionsToBeConstructors"
value=
"true"
/>
</inspection_tool>
<inspection_tool
class=
"JSPotentiallyInvalidTargetOfIndexedPropertyAccess"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSPotentiallyInvalidUsageOfThis"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSPrimitiveTypeWrapperUsage"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSReferencingArgumentsOutsideOfFunction"
enabled=
"true"
level=
"ERROR"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSReferencingMutableVariableFromClosure"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSStringConcatenationToES6Template"
enabled=
"true"
level=
"INFORMATION"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSSuspiciousNameCombination"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSSuspiciousNameCombination"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<group
names=
"x,width,left,right"
/>
<group
names=
"y,height,top,bottom"
/>
<exclude
classes=
"Math"
/>
</inspection_tool>
<inspection_tool
class=
"JSTypeOfValues"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSUndeclaredVariable"
enabled=
"true"
level=
"WEAK WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"JSUndefinedPropertyAssignment"
enabled=
"true"
level=
"WEAK WARNING"
enabled_by_default=
"true"
/>
...
...
@@ -203,7 +249,9 @@
<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=
"NestedSwitchStatementJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"NestingDepthJS"
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"
/>
</inspection_tool>
<inspection_tool
class=
"NodeJsCodingAssistanceForCoreModules"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"NodeModulesDependencies"
enabled=
"true"
level=
"WEAK WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"NonBlockStatementBodyJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
...
...
@@ -213,7 +261,11 @@
<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=
"ParameterNamingConventionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<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=
"PhingDomInspection"
enabled=
"true"
level=
"ERROR"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"Php7ReadinessInspection"
enabled=
"true"
level=
"ERROR"
enabled_by_default=
"true"
/>
...
...
@@ -296,13 +348,31 @@
<inspection_tool
class=
"PhpWrongStringConcatenationInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"PlatformDetectionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"PointlessArithmeticExpressionJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"PointlessBitwiseExpressionJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"PointlessBitwiseExpressionJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"m_ignoreExpressionsContainingConstants"
value=
"false"
/>
</inspection_tool>
<inspection_tool
class=
"PointlessBooleanExpressionJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"ProblematicWhitespace"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"QuirksModeInspectionTool"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"RedundantTypeConversion"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"QuirksModeInspectionTool"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
>
<option
name=
"IE50"
value=
"false"
/>
<option
name=
"IE55"
value=
"false"
/>
<option
name=
"IE6"
value=
"true"
/>
<option
name=
"IE7"
value=
"true"
/>
<option
name=
"IE_MAC"
value=
"false"
/>
<option
name=
"MOZILLA"
value=
"true"
/>
<option
name=
"OPERA7"
value=
"false"
/>
<option
name=
"OPERA8"
value=
"false"
/>
<option
name=
"OPERA85"
value=
"true"
/>
<option
name=
"OPERA9"
value=
"true"
/>
<option
name=
"SAFARI"
value=
"true"
/>
</inspection_tool>
<inspection_tool
class=
"RedundantTypeConversion"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"CHECK_ANY"
value=
"false"
/>
</inspection_tool>
<inspection_tool
class=
"ReplaceAssignmentWithOperatorAssignmentJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"RequiredAttributes"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"RequiredAttributes"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"myAdditionalRequiredHtmlAttributes"
value=
""
/>
</inspection_tool>
<inspection_tool
class=
"ReservedWordUsedAsNameJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"ReturnFromFinallyBlockJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"ReuseOfLocalVariableJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
...
...
@@ -313,7 +383,11 @@
<inspection_tool
class=
"SassScssUnresolvedVariable"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"ShiftOutOfRangeJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"SillyAssignmentJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"SpellCheckingInspection"
enabled=
"true"
level=
"TYPO"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"SpellCheckingInspection"
enabled=
"true"
level=
"TYPO"
enabled_by_default=
"true"
>
<option
name=
"processCode"
value=
"true"
/>
<option
name=
"processLiterals"
value=
"true"
/>
<option
name=
"processComments"
value=
"true"
/>
</inspection_tool>
<inspection_tool
class=
"SqlAddNotNullColumnInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"SqlAmbiguousColumnInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"SqlAutoIncrementDuplicateInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
...
...
@@ -359,11 +433,16 @@
<inspection_tool
class=
"UnnecessaryLabelJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"UnnecessaryLabelOnBreakStatementJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"UnnecessaryLabelOnContinueStatementJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"UnnecessaryLocalVariableJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"UnnecessaryLocalVariableJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"m_ignoreImmediatelyReturnedVariables"
value=
"false"
/>
<option
name=
"m_ignoreAnnotatedVariables"
value=
"false"
/>
</inspection_tool>
<inspection_tool
class=
"UnnecessaryReturnJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"UnreachableCodeJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"UnresolvedReference"
enabled=
"true"
level=
"ERROR"
enabled_by_default=
"true"
/>
<inspection_tool
class=
"UnterminatedStatementJS"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
/>
<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=
"UnusedDefine"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
<inspection_tool
class=
"VoidExpressionJS"
enabled=
"false"
level=
"WARNING"
enabled_by_default=
"false"
/>
...
...
.idea/workspace.xml
View file @
9eb0b04d
...
...
@@ -2,8 +2,11 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"83262c17-7030-4f8f-af17-e1cc55f76944"
name=
"Default"
comment=
""
>
<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/View/default/Index_index.tpl"
afterPath=
"$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
/>
<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"
/>
...
...
@@ -23,7 +26,7 @@
<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=
"
919
"
>
<state
relative-caret-position=
"
460
"
>
<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>
...
...
@@ -33,12 +36,9 @@
<file
leaf-file-name=
"Index_index.tpl"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"197"
>
<caret
line=
"56"
column=
"0"
lean-forward=
"true"
selection-start-line=
"56"
selection-start-column=
"0"
selection-end-line=
"56"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"n#style#0;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
<element
signature=
"n#style#0;n#img#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"418"
>
<caret
line=
"22"
column=
"16"
lean-forward=
"true"
selection-start-line=
"22"
selection-start-column=
"16"
selection-end-line=
"22"
selection-end-column=
"16"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -46,51 +46,53 @@
<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=
"
1007
"
>
<caret
line=
"
53"
column=
"0"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"0"
selection-end-line=
"53"
selection-end-column=
"0
"
/>
<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>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
groupuser_layout.tpl
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/
User/View/default/groupuser_layout.tpl
"
>
<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=
"-532"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
<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"
/>
<folding>
<element
signature=
"e#34#44#0#PHP"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
Index_share.tpl
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/
View/default/Index_share.tpl
"
>
<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=
"
722
"
>
<caret
line=
"
38"
column=
"0"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"0"
selection-end-line=
"41"
selection-end-column=
"74
"
/>
<state
relative-caret-position=
"
209
"
>
<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>
</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
"
>
<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=
"209"
>
<caret
line=
"43"
column=
"43"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"36"
selection-end-line=
"43"
selection-end-column=
"43"
/>
<folding
/>
<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>
</file>
<file
leaf-file-name=
"Check
Controller.class.php
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/User/
Controller/CheckController.class.php
"
>
<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"
>
<state
relative-caret-position=
"190"
>
<caret
line=
"10"
column=
"33"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"33"
selection-end-line=
"10"
selection-end-column=
"33"
/>
<folding>
<marker
date=
"1562514814000"
expanded=
"true"
signature=
"152:283"
ph=
"select a.id,... user"
/>
</folding>
<state
relative-caret-position=
"817"
>
<caret
line=
"43"
column=
"43"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"36"
selection-end-line=
"43"
selection-end-column=
"43"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -109,21 +111,21 @@
</split-first>
<split-second>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"main.scss"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"main.scss"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/Public/static/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
83
"
>
<caret
line=
"2
01"
column=
"0"
lean-forward=
"false"
selection-start-line=
"201"
selection-start-column=
"0"
selection-end-line=
"201"
selection-end-column=
"0
"
/>
<state
relative-caret-position=
"
4047
"
>
<caret
line=
"2
13"
column=
"13"
lean-forward=
"false"
selection-start-line=
"213"
selection-start-column=
"13"
selection-end-line=
"213"
selection-end-column=
"13
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"db.php"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
leaf-file-name=
"db.php"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Common/Conf/db.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
133
"
>
<caret
line=
"
7"
column=
"33"
lean-forward=
"true"
selection-start-line=
"7"
selection-start-column=
"33"
selection-end-line=
"7"
selection-end-column=
"33
"
/>
<state
relative-caret-position=
"
304
"
>
<caret
line=
"
16"
column=
"17"
lean-forward=
"false"
selection-start-line=
"16"
selection-start-column=
"17"
selection-end-line=
"16"
selection-end-column=
"17
"
/>
<folding
/>
</state>
</provider>
...
...
@@ -151,12 +153,13 @@
<list>
<option
value=
"$PROJECT_DIR$/Application/Common/Conf/db.php"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/View/default/Index_share.tpl"
/>
<option
value=
"$PROJECT_DIR$/Public/static/js/index.js"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
/>
<option
value=
"$PROJECT_DIR$/Application/User/View/default/Check_index.tpl"
/>
<option
value=
"$PROJECT_DIR$/Public/static/css/main.scss"
/>
<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"
/>
</list>
</option>
</component>
...
...
@@ -170,7 +173,7 @@
<component
name=
"ProjectFrameBounds"
>
<option
name=
"y"
value=
"23"
/>
<option
name=
"width"
value=
"1440"
/>
<option
name=
"height"
value=
"81
7
"
/>
<option
name=
"height"
value=
"81
3
"
/>
</component>
<component
name=
"ProjectView"
>
<navigator
currentView=
"ProjectPane"
proportions=
""
version=
"1"
>
...
...
@@ -187,6 +190,7 @@
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"Scratches"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<PATH>
...
...
@@ -459,10 +463,31 @@
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"sx-prize"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"sx-prize"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"Application"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"Common"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"Common"
/>
<option
name=
"myItemType"
value=
"com.jetbrains.php.projectView.PhpTreeStructureProvider$1"
/>
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane
id=
"Scope"
/>
<pane
id=
"Scratches"
/>
</panes>
</component>
<component
name=
"PropertiesComponent"
>
...
...
@@ -540,36 +565,41 @@
<option
name=
"presentableId"
value=
"Default"
/>
<updated>
1562502557206
</updated>
<workItem
from=
"1562502558877"
duration=
"2926000"
/>
<workItem
from=
"1562505554364"
duration=
"9118000"
/>
<workItem
from=
"1562505554364"
duration=
"9368000"
/>
<workItem
from=
"1562515570375"
duration=
"1126000"
/>
<workItem
from=
"1563254956467"
duration=
"600000"
/>
<workItem
from=
"1563255633794"
duration=
"253000"
/>
<workItem
from=
"1563255994907"
duration=
"30000"
/>
<workItem
from=
"1563256090653"
duration=
"233000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"1
2044
000"
/>
<option
name=
"totallyTimeSpent"
value=
"1
4536
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1440"
height=
"81
7
"
extended-state=
"6"
/>
<editor
active=
"
tru
e"
/>
<frame
x=
"0"
y=
"23"
width=
"1440"
height=
"81
3
"
extended-state=
"6"
/>
<editor
active=
"
fals
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.
1881259
"
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.
20100144
"
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=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32921812"
sideWeight=
"0.5"
order=
"2"
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=
"
false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.2317241
4"
sideWeight=
"0.5"
order=
"9"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
true"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.2316227
4"
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=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
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"
/>
<window_info
id=
"Commander"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Inspection"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32921812"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"npm"
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=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Hierarchy"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Grunt "
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=
"3"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Find"
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=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Ant Build"
active=
"false"
anchor=
"right"
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=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
</layout>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
@@ -583,6 +613,22 @@
<watches-manager
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Common/Conf/db.php"
>
<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"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Common/Conf/config.php"
>
<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"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1767"
>
...
...
@@ -593,33 +639,96 @@
</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=
"1007"
>
<caret
line=
"53"
column=
"37"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"37"
selection-end-line=
"53"
selection-end-column=
"37"
/>
<folding>
<element
signature=
"n#style#0;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
<element
signature=
"n#style#0;n#img#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"1064"
>
<caret
line=
"56"
column=
"0"
lean-forward=
"false"
selection-start-line=
"56"
selection-start-column=
"0"
selection-end-line=
"56"
selection-end-column=
"0"
/>
<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=
"
950
"
>
<caret
line=
"5
0"
column=
"41"
lean-forward=
"false"
selection-start-line=
"50"
selection-start-column=
"41"
selection-end-line=
"50"
selection-end-column=
"41
"
/>
<state
relative-caret-position=
"
1007
"
>
<caret
line=
"5
3"
column=
"0"
lean-forward=
"false"
selection-start-line=
"53"
selection-start-column=
"0"
selection-end-line=
"53"
selection-end-column=
"0
"
/>
<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=
"
262
2"
>
<caret
line=
"
138"
column=
"36"
lean-forward=
"true"
selection-start-line=
"138"
selection-start-column=
"36"
selection-end-line=
"138"
selection-end-column=
"36
"
/>
<state
relative-caret-position=
"
110
2"
>
<caret
line=
"
58"
column=
"22"
lean-forward=
"true"
selection-start-line=
"58"
selection-start-column=
"22"
selection-end-line=
"58"
selection-end-column=
"22
"
/>
<folding>
<element
signature=
"e#34#44#0#PHP"
expanded=
"true"
/>
</folding>
</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=
"1634"
>
<caret
line=
"86"
column=
"49"
lean-forward=
"false"
selection-start-line=
"86"
selection-start-column=
"49"
selection-end-line=
"86"
selection-end-column=
"49"
/>
<folding>
<marker
date=
"1563255647000"
expanded=
"true"
signature=
"2376:2507"
ph=
"select a.id,... user"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Check_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"817"
>
<caret
line=
"43"
column=
"43"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"36"
selection-end-line=
"43"
selection-end-column=
"43"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Public/static/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"4047"
>
<caret
line=
"213"
column=
"13"
lean-forward=
"true"
selection-start-line=
"213"
selection-start-column=
"13"
selection-end-line=
"213"
selection-end-column=
"13"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Common/Conf/db.php"
>
<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"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Common/Conf/config.php"
>
<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"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<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>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1064"
>
<caret
line=
"56"
column=
"0"
lean-forward=
"false"
selection-start-line=
"56"
selection-start-column=
"0"
selection-end-line=
"56"
selection-end-column=
"0"
/>
<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=
"1007"
>
<caret
line=
"53"
column=
"0"
lean-forward=
"false"
selection-start-line=
"53"
selection-start-column=
"0"
selection-end-line=
"53"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Public/static/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3306"
>
...
...
@@ -644,13 +753,80 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
Public/static/css/main.css
"
>
<entry
file=
"file://$PROJECT_DIR$/
Application/Home/Controller/IndexController.class.php
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-3163"
>
<state
relative-caret-position=
"2337"
>
<caret
line=
"128"
column=
"31"
lean-forward=
"true"
selection-start-line=
"128"
selection-start-column=
"31"
selection-end-line=
"128"
selection-end-column=
"31"
/>
<folding>
<element
signature=
"e#34#44#0#PHP"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<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>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1064"
>
<caret
line=
"56"
column=
"0"
lean-forward=
"false"
selection-start-line=
"56"
selection-start-column=
"0"
selection-end-line=
"56"
selection-end-column=
"0"
/>
<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=
"1007"
>
<caret
line=
"53"
column=
"0"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"0"
selection-end-line=
"53"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/groupuser_layout.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/Home/View/default/Index_share.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"722"
>
<caret
line=
"38"
column=
"0"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"0"
selection-end-line=
"41"
selection-end-column=
"74"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Check_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"817"
>
<caret
line=
"43"
column=
"43"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"36"
selection-end-line=
"43"
selection-end-column=
"43"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/Controller/CheckController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"190"
>
<caret
line=
"10"
column=
"33"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"33"
selection-end-line=
"10"
selection-end-column=
"33"
/>
<folding>
<marker
date=
"1562514814000"
expanded=
"true"
signature=
"152:283"
ph=
"select a.id,... user"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Public/static/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3306"
>
<caret
line=
"174"
column=
"21"
lean-forward=
"false"
selection-start-line=
"174"
selection-start-column=
"21"
selection-end-line=
"174"
selection-end-column=
"21"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Common/Conf/db.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"133"
>
...
...
@@ -669,13 +845,70 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
919
"
>
<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>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Report_index.tpl"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1007"
>
<caret
line=
"53"
column=
"37"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"37"
selection-end-line=
"53"
selection-end-column=
"37"
/>
<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=
"950"
>
<caret
line=
"50"
column=
"41"
lean-forward=
"false"
selection-start-line=
"50"
selection-start-column=
"41"
selection-end-line=
"50"
selection-end-column=
"41"
/>
<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=
"2622"
>
<caret
line=
"138"
column=
"36"
lean-forward=
"true"
selection-start-line=
"138"
selection-start-column=
"36"
selection-end-line=
"138"
selection-end-column=
"36"
/>
<folding>
<element
signature=
"e#34#44#0#PHP"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Public/static/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3306"
>
<caret
line=
"174"
column=
"21"
lean-forward=
"false"
selection-start-line=
"174"
selection-start-column=
"21"
selection-end-line=
"174"
selection-end-column=
"21"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Common/Conf/db.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"133"
>
<caret
line=
"7"
column=
"33"
lean-forward=
"true"
selection-start-line=
"7"
selection-start-column=
"33"
selection-end-line=
"7"
selection-end-column=
"33"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Common/Conf/config.php"
>
<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"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Public/static/css/main.css"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-3163"
>
<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/Common/Conf/config.php"
>
<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"
/>
...
...
@@ -683,28 +916,40 @@
</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"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/groupuser_layout.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-532
"
>
<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"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_share.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"722"
>
<caret
line=
"38"
column=
"0"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"0"
selection-end-line=
"41"
selection-end-column=
"74"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/Controller/CheckController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"19"
>
<caret
line=
"1
9"
column=
"33"
lean-forward=
"true"
selection-start-line=
"19"
selection-start-column=
"33"
selection-end-line=
"19
"
selection-end-column=
"33"
/>
<state
relative-caret-position=
"19
0
"
>
<caret
line=
"1
0"
column=
"33"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"33"
selection-end-line=
"10
"
selection-end-column=
"33"
/>
<folding>
<
element
signature=
"e#34#44#0#PHP"
expanded=
"true
"
/>
<
marker
date=
"1562514814000"
expanded=
"true"
signature=
"152:283"
ph=
"select a.id,... user
"
/>
</folding>
</state>
</provider>
...
...
@@ -717,48 +962,71 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/
Home/View/default/Index_share
.tpl"
>
<entry
file=
"file://$PROJECT_DIR$/Application/
User/View/default/Check_index
.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
722
"
>
<caret
line=
"
38"
column=
"0"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"0"
selection-end-line=
"41"
selection-end-column=
"74
"
/>
<state
relative-caret-position=
"
817
"
>
<caret
line=
"
43"
column=
"43"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"36"
selection-end-line=
"43"
selection-end-column=
"43
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/User/View/default/Check_index.tpl"
>
<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"
>
<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>
<entry
file=
"file://$PROJECT_DIR$/Application/Common/Conf/db.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"304"
>
<caret
line=
"16"
column=
"17"
lean-forward=
"false"
selection-start-line=
"16"
selection-start-column=
"17"
selection-end-line=
"16"
selection-end-column=
"17"
/>
<folding
/>
</state>
</provider>
</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"
>
<caret
line=
"
43"
column=
"43"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"36"
selection-end-line=
"4
3"
selection-end-column=
"43"
/>
<caret
line=
"
102"
column=
"13"
lean-forward=
"true"
selection-start-line=
"102"
selection-start-column=
"13"
selection-end-line=
"10
3"
selection-end-column=
"43"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/
User/Controller/Check
Controller.class.php"
>
<entry
file=
"file://$PROJECT_DIR$/Application/
Home/Controller/Index
Controller.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
190
"
>
<caret
line=
"
10"
column=
"33"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"33"
selection-end-line=
"10"
selection-end-column=
"33
"
/>
<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
"
/>
<folding>
<
marker
date=
"1562514814000"
expanded=
"true"
signature=
"152:283"
ph=
"select a.id,... user
"
/>
<
element
signature=
"e#34#44#0#PHP"
expanded=
"true
"
/>
</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=
"
1007
"
>
<caret
line=
"
53"
column=
"0"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"0"
selection-end-line=
"53"
selection-end-column=
"0
"
/>
<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>
</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=
"197"
>
<caret
line=
"56"
column=
"0"
lean-forward=
"true"
selection-start-line=
"56"
selection-start-column=
"0"
selection-end-line=
"56"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"n#style#0;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
<element
signature=
"n#style#0;n#img#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"418"
>
<caret
line=
"22"
column=
"16"
lean-forward=
"true"
selection-start-line=
"22"
selection-start-column=
"16"
selection-end-line=
"22"
selection-end-column=
"16"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
Application/Home/Controller/IndexController.class.php
View file @
9eb0b04d
...
...
@@ -42,6 +42,12 @@ class IndexController extends Controller
//}
public
function
index
()
{
$openSate
=
M
(
'Sate'
)
->
wher
(
array
(
'id'
=>
1
))
->
find
(
'getField'
);
if
(
$openSate
==
0
){
die
();
}
$user
=
$this
->
get_user_info_from_cookie
();
if
(
!
$user
)
{
$this
->
request_auth
(
$this
->
get_url
());
...
...
@@ -49,7 +55,6 @@ class IndexController extends Controller
}
$prize_type
=
M
(
'Prize'
)
->
where
(
array
(
'user_id'
=>
$user
[
'id'
]))
->
find
();
if
(
$prize_type
)
{
$type
=
1
;
}
else
{
...
...
@@ -121,6 +126,13 @@ class IndexController extends Controller
));
return
;
}
if
(
$user
[
'play_num'
]
==
0
){
$this
->
ajaxReturn
(
array
(
'errcode'
=>
2
,
'errmsg'
=>
null
));
return
;
}
$type_list
=
array
(
'6JTjh8cPcQ6Rh4Zs'
,
'wrwSQkP7aBSTSz6Q'
,
'DQxcxExXHmrrJhpW'
,
'Mx7cz5zBhJ4XTWWw'
,
'BnFaQJ23ddQ6CcfG'
,
'4fzkwfPHZZZmnQJx'
,
'NCnWMkSN5jSBErP6'
,
'Ce238NWT3GAkmXNB'
,
'7QnGFjs7JDxWe2xQ'
,
'5Qtk2aKHsG42PbRz'
);
$channel_urt
=
$_POST
[
'channel'
];
$c_z
=
in_array
(
$channel_urt
,
$type_list
);
...
...
@@ -133,8 +145,10 @@ class IndexController extends Controller
)
));
return
;
}
M
(
'User'
)
->
where
(
array
(
'id'
=>
$user
[
'id'
]
))
->
setDec
(
'play_num'
);
$channel
=
M
(
'Prize'
)
->
where
(
array
(
'channel'
=>
$channel_urt
))
->
find
();
...
...
Application/User/Controller/ReportController.class.php
View file @
9eb0b04d
...
...
@@ -70,7 +70,7 @@ class ReportController extends BaseUserController
}
public
function
export_photo
()
{
$sql
=
"select a.id,a.nickname,a.headimgurl,a.region,b.take_time from user a left join prize b on b.user_id = a.id where is_get=1 "
;
$sql
=
"select a.id,a.nickname,a.headimgurl,a.region,b.take_time
,b.channel
from user a left join prize b on b.user_id = a.id where is_get=1 "
;
$list
=
M
()
->
query
(
$sql
);
$default_0
=
function
(
$v
)
{
if
(
isset
(
$v
))
{
...
...
@@ -83,9 +83,10 @@ class ReportController extends BaseUserController
array
(
'名字'
,
'nickname'
,
$default_0
),
array
(
'地区'
,
'region'
,
$default_0
),
array
(
'头像'
,
'headimgurl'
,
$default_0
),
array
(
'时间'
,
'take_time'
,
$default_0
),
array
(
'渠道'
,
'channel'
,
$default_0
),
array
(
'时间'
,
'take_time'
,
function
(
$v
){
return
date
(
'Y年m月d日-H:i:s'
,
$v
);
}),
);
$file_name
=
'prize_'
.
date
(
'Y-m-d_H:i:s'
);
ExcelExporter
::
export
(
$file_name
,
$columns
,
$list
,
'prize'
);
...
...
Public/static/js/index.js
View file @
9eb0b04d
...
...
@@ -47,9 +47,16 @@ function btnPrize() {
if
(
resp
.
errcode
!=
0
)
{
my_notify
(
prize_word
[
rank
]);
}
else
{
if
(
resp
.
errcode
==
2
){
my_notify
(
"抽奖次数已用完,感谢支持。"
)
return
;
}
else
{
$
(
'.btn-prize'
).
hide
();
$
(
'.prize-type'
).
show
();
}
}
$
(
'.btn-prize'
).
text
(
prize_word
[
rank
]);
},
...
...
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