Browse Source

Create project

master
Skylar Ittner 9 months ago
commit
603d28a462

+ 4
- 0
.gitignore View File

@@ -0,0 +1,4 @@
1
+nbproject/private
2
+database.mwb.bak
3
+vendor
4
+settings.php

+ 357
- 0
LICENSE.md View File

@@ -0,0 +1,357 @@
1
+Mozilla Public License Version 2.0
2
+==================================
3
+
4
+### 1. Definitions
5
+
6
+**1.1. “Contributor”**
7
+    means each individual or legal entity that creates, contributes to
8
+    the creation of, or owns Covered Software.
9
+
10
+**1.2. “Contributor Version”**
11
+    means the combination of the Contributions of others (if any) used
12
+    by a Contributor and that particular Contributor's Contribution.
13
+
14
+**1.3. “Contribution”**
15
+    means Covered Software of a particular Contributor.
16
+
17
+**1.4. “Covered Software”**
18
+    means Source Code Form to which the initial Contributor has attached
19
+    the notice in Exhibit A, the Executable Form of such Source Code
20
+    Form, and Modifications of such Source Code Form, in each case
21
+    including portions thereof.
22
+
23
+**1.5. “Incompatible With Secondary Licenses”**
24
+    means
25
+
26
+* **(a)** that the initial Contributor has attached the notice described
27
+    in Exhibit B to the Covered Software; or
28
+* **(b)** that the Covered Software was made available under the terms of
29
+    version 1.1 or earlier of the License, but not also under the
30
+    terms of a Secondary License.
31
+
32
+**1.6. “Executable Form”**
33
+    means any form of the work other than Source Code Form.
34
+
35
+**1.7. “Larger Work”**
36
+    means a work that combines Covered Software with other material, in
37
+    a separate file or files, that is not Covered Software.
38
+
39
+**1.8. “License”**
40
+    means this document.
41
+
42
+**1.9. “Licensable”**
43
+    means having the right to grant, to the maximum extent possible,
44
+    whether at the time of the initial grant or subsequently, any and
45
+    all of the rights conveyed by this License.
46
+
47
+**1.10. “Modifications”**
48
+    means any of the following:
49
+
50
+* **(a)** any file in Source Code Form that results from an addition to,
51
+    deletion from, or modification of the contents of Covered
52
+    Software; or
53
+* **(b)** any new file in Source Code Form that contains any Covered
54
+    Software.
55
+
56
+**1.11. “Patent Claims” of a Contributor**
57
+    means any patent claim(s), including without limitation, method,
58
+    process, and apparatus claims, in any patent Licensable by such
59
+    Contributor that would be infringed, but for the grant of the
60
+    License, by the making, using, selling, offering for sale, having
61
+    made, import, or transfer of either its Contributions or its
62
+    Contributor Version.
63
+
64
+**1.12. “Secondary License”**
65
+    means either the GNU General Public License, Version 2.0, the GNU
66
+    Lesser General Public License, Version 2.1, the GNU Affero General
67
+    Public License, Version 3.0, or any later versions of those
68
+    licenses.
69
+
70
+**1.13. “Source Code Form”**
71
+    means the form of the work preferred for making modifications.
72
+
73
+**1.14. “You” (or “Your”)**
74
+    means an individual or a legal entity exercising rights under this
75
+    License. For legal entities, “You” includes any entity that
76
+    controls, is controlled by, or is under common control with You. For
77
+    purposes of this definition, “control” means **(a)** the power, direct
78
+    or indirect, to cause the direction or management of such entity,
79
+    whether by contract or otherwise, or **(b)** ownership of more than
80
+    fifty percent (50%) of the outstanding shares or beneficial
81
+    ownership of such entity.
82
+
83
+
84
+### 2. License Grants and Conditions
85
+
86
+#### 2.1. Grants
87
+
88
+Each Contributor hereby grants You a world-wide, royalty-free,
89
+non-exclusive license:
90
+
91
+* **(a)** under intellectual property rights (other than patent or trademark)
92
+    Licensable by such Contributor to use, reproduce, make available,
93
+    modify, display, perform, distribute, and otherwise exploit its
94
+    Contributions, either on an unmodified basis, with Modifications, or
95
+    as part of a Larger Work; and
96
+* **(b)** under Patent Claims of such Contributor to make, use, sell, offer
97
+    for sale, have made, import, and otherwise transfer either its
98
+    Contributions or its Contributor Version.
99
+
100
+#### 2.2. Effective Date
101
+
102
+The licenses granted in Section 2.1 with respect to any Contribution
103
+become effective for each Contribution on the date the Contributor first
104
+distributes such Contribution.
105
+
106
+#### 2.3. Limitations on Grant Scope
107
+
108
+The licenses granted in this Section 2 are the only rights granted under
109
+this License. No additional rights or licenses will be implied from the
110
+distribution or licensing of Covered Software under this License.
111
+Notwithstanding Section 2.1(b) above, no patent license is granted by a
112
+Contributor:
113
+
114
+* **(a)** for any code that a Contributor has removed from Covered Software;
115
+    or
116
+* **(b)** for infringements caused by: **(i)** Your and any other third party's
117
+    modifications of Covered Software, or **(ii)** the combination of its
118
+    Contributions with other software (except as part of its Contributor
119
+    Version); or
120
+* **(c)** under Patent Claims infringed by Covered Software in the absence of
121
+    its Contributions.
122
+
123
+This License does not grant any rights in the trademarks, service marks,
124
+or logos of any Contributor (except as may be necessary to comply with
125
+the notice requirements in Section 3.4).
126
+
127
+#### 2.4. Subsequent Licenses
128
+
129
+No Contributor makes additional grants as a result of Your choice to
130
+distribute the Covered Software under a subsequent version of this
131
+License (see Section 10.2) or under the terms of a Secondary License (if
132
+permitted under the terms of Section 3.3).
133
+
134
+#### 2.5. Representation
135
+
136
+Each Contributor represents that the Contributor believes its
137
+Contributions are its original creation(s) or it has sufficient rights
138
+to grant the rights to its Contributions conveyed by this License.
139
+
140
+#### 2.6. Fair Use
141
+
142
+This License is not intended to limit any rights You have under
143
+applicable copyright doctrines of fair use, fair dealing, or other
144
+equivalents.
145
+
146
+#### 2.7. Conditions
147
+
148
+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
149
+in Section 2.1.
150
+
151
+
152
+### 3. Responsibilities
153
+
154
+#### 3.1. Distribution of Source Form
155
+
156
+All distribution of Covered Software in Source Code Form, including any
157
+Modifications that You create or to which You contribute, must be under
158
+the terms of this License. You must inform recipients that the Source
159
+Code Form of the Covered Software is governed by the terms of this
160
+License, and how they can obtain a copy of this License. You may not
161
+attempt to alter or restrict the recipients' rights in the Source Code
162
+Form.
163
+
164
+#### 3.2. Distribution of Executable Form
165
+
166
+If You distribute Covered Software in Executable Form then:
167
+
168
+* **(a)** such Covered Software must also be made available in Source Code
169
+    Form, as described in Section 3.1, and You must inform recipients of
170
+    the Executable Form how they can obtain a copy of such Source Code
171
+    Form by reasonable means in a timely manner, at a charge no more
172
+    than the cost of distribution to the recipient; and
173
+
174
+* **(b)** You may distribute such Executable Form under the terms of this
175
+    License, or sublicense it under different terms, provided that the
176
+    license for the Executable Form does not attempt to limit or alter
177
+    the recipients' rights in the Source Code Form under this License.
178
+
179
+#### 3.3. Distribution of a Larger Work
180
+
181
+You may create and distribute a Larger Work under terms of Your choice,
182
+provided that You also comply with the requirements of this License for
183
+the Covered Software. If the Larger Work is a combination of Covered
184
+Software with a work governed by one or more Secondary Licenses, and the
185
+Covered Software is not Incompatible With Secondary Licenses, this
186
+License permits You to additionally distribute such Covered Software
187
+under the terms of such Secondary License(s), so that the recipient of
188
+the Larger Work may, at their option, further distribute the Covered
189
+Software under the terms of either this License or such Secondary
190
+License(s).
191
+
192
+#### 3.4. Notices
193
+
194
+You may not remove or alter the substance of any license notices
195
+(including copyright notices, patent notices, disclaimers of warranty,
196
+or limitations of liability) contained within the Source Code Form of
197
+the Covered Software, except that You may alter any license notices to
198
+the extent required to remedy known factual inaccuracies.
199
+
200
+#### 3.5. Application of Additional Terms
201
+
202
+You may choose to offer, and to charge a fee for, warranty, support,
203
+indemnity or liability obligations to one or more recipients of Covered
204
+Software. However, You may do so only on Your own behalf, and not on
205
+behalf of any Contributor. You must make it absolutely clear that any
206
+such warranty, support, indemnity, or liability obligation is offered by
207
+You alone, and You hereby agree to indemnify every Contributor for any
208
+liability incurred by such Contributor as a result of warranty, support,
209
+indemnity or liability terms You offer. You may include additional
210
+disclaimers of warranty and limitations of liability specific to any
211
+jurisdiction.
212
+
213
+
214
+### 4. Inability to Comply Due to Statute or Regulation
215
+
216
+If it is impossible for You to comply with any of the terms of this
217
+License with respect to some or all of the Covered Software due to
218
+statute, judicial order, or regulation then You must: **(a)** comply with
219
+the terms of this License to the maximum extent possible; and **(b)**
220
+describe the limitations and the code they affect. Such description must
221
+be placed in a text file included with all distributions of the Covered
222
+Software under this License. Except to the extent prohibited by statute
223
+or regulation, such description must be sufficiently detailed for a
224
+recipient of ordinary skill to be able to understand it.
225
+
226
+
227
+### 5. Termination
228
+
229
+**5.1.** The rights granted under this License will terminate automatically
230
+if You fail to comply with any of its terms. However, if You become
231
+compliant, then the rights granted under this License from a particular
232
+Contributor are reinstated **(a)** provisionally, unless and until such
233
+Contributor explicitly and finally terminates Your grants, and **(b)** on an
234
+ongoing basis, if such Contributor fails to notify You of the
235
+non-compliance by some reasonable means prior to 60 days after You have
236
+come back into compliance. Moreover, Your grants from a particular
237
+Contributor are reinstated on an ongoing basis if such Contributor
238
+notifies You of the non-compliance by some reasonable means, this is the
239
+first time You have received notice of non-compliance with this License
240
+from such Contributor, and You become compliant prior to 30 days after
241
+Your receipt of the notice.
242
+
243
+**5.2.** If You initiate litigation against any entity by asserting a patent
244
+infringement claim (excluding declaratory judgment actions,
245
+counter-claims, and cross-claims) alleging that a Contributor Version
246
+directly or indirectly infringes any patent, then the rights granted to
247
+You by any and all Contributors for the Covered Software under Section
248
+2.1 of this License shall terminate.
249
+
250
+**5.3.** In the event of termination under Sections 5.1 or 5.2 above, all
251
+end user license agreements (excluding distributors and resellers) which
252
+have been validly granted by You or Your distributors under this License
253
+prior to termination shall survive termination.
254
+
255
+
256
+### 6. Disclaimer of Warranty
257
+
258
+> Covered Software is provided under this License on an “as is”
259
+> basis, without warranty of any kind, either expressed, implied, or
260
+> statutory, including, without limitation, warranties that the
261
+> Covered Software is free of defects, merchantable, fit for a
262
+> particular purpose or non-infringing. The entire risk as to the
263
+> quality and performance of the Covered Software is with You.
264
+> Should any Covered Software prove defective in any respect, You
265
+> (not any Contributor) assume the cost of any necessary servicing,
266
+> repair, or correction. This disclaimer of warranty constitutes an
267
+> essential part of this License. No use of any Covered Software is
268
+> authorized under this License except under this disclaimer.
269
+
270
+### 7. Limitation of Liability
271
+
272
+> Under no circumstances and under no legal theory, whether tort
273
+> (including negligence), contract, or otherwise, shall any
274
+> Contributor, or anyone who distributes Covered Software as
275
+> permitted above, be liable to You for any direct, indirect,
276
+> special, incidental, or consequential damages of any character
277
+> including, without limitation, damages for lost profits, loss of
278
+> goodwill, work stoppage, computer failure or malfunction, or any
279
+> and all other commercial damages or losses, even if such party
280
+> shall have been informed of the possibility of such damages. This
281
+> limitation of liability shall not apply to liability for death or
282
+> personal injury resulting from such party's negligence to the
283
+> extent applicable law prohibits such limitation. Some
284
+> jurisdictions do not allow the exclusion or limitation of
285
+> incidental or consequential damages, so this exclusion and
286
+> limitation may not apply to You.
287
+
288
+
289
+### 8. Litigation
290
+
291
+Any litigation relating to this License may be brought only in the
292
+courts of a jurisdiction where the defendant maintains its principal
293
+place of business and such litigation shall be governed by laws of that
294
+jurisdiction, without reference to its conflict-of-law provisions.
295
+Nothing in this Section shall prevent a party's ability to bring
296
+cross-claims or counter-claims.
297
+
298
+
299
+### 9. Miscellaneous
300
+
301
+This License represents the complete agreement concerning the subject
302
+matter hereof. If any provision of this License is held to be
303
+unenforceable, such provision shall be reformed only to the extent
304
+necessary to make it enforceable. Any law or regulation which provides
305
+that the language of a contract shall be construed against the drafter
306
+shall not be used to construe this License against a Contributor.
307
+
308
+
309
+### 10. Versions of the License
310
+
311
+#### 10.1. New Versions
312
+
313
+Mozilla Foundation is the license steward. Except as provided in Section
314
+10.3, no one other than the license steward has the right to modify or
315
+publish new versions of this License. Each version will be given a
316
+distinguishing version number.
317
+
318
+#### 10.2. Effect of New Versions
319
+
320
+You may distribute the Covered Software under the terms of the version
321
+of the License under which You originally received the Covered Software,
322
+or under the terms of any subsequent version published by the license
323
+steward.
324
+
325
+#### 10.3. Modified Versions
326
+
327
+If you create software not governed by this License, and you want to
328
+create a new license for such software, you may create and use a
329
+modified version of this License if you rename the license and remove
330
+any references to the name of the license steward (except to note that
331
+such modified license differs from this License).
332
+
333
+#### 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
334
+
335
+If You choose to distribute Source Code Form that is Incompatible With
336
+Secondary Licenses under the terms of this version of the License, the
337
+notice described in Exhibit B of this License must be attached.
338
+
339
+## Exhibit A - Source Code Form License Notice
340
+
341
+    This Source Code Form is subject to the terms of the Mozilla Public
342
+    License, v. 2.0. If a copy of the MPL was not distributed with this
343
+    file, You can obtain one at http://mozilla.org/MPL/2.0/.
344
+
345
+If it is not possible or desirable to put the notice in a particular
346
+file, then You may include the notice in a location (such as a LICENSE
347
+file in a relevant directory) where a recipient would be likely to look
348
+for such a notice.
349
+
350
+You may add additional accurate notices of copyright ownership.
351
+
352
+## Exhibit B - “Incompatible With Secondary Licenses” Notice
353
+
354
+    This Source Code Form is "Incompatible With Secondary Licenses", as
355
+    defined by the Mozilla Public License, v. 2.0.
356
+
357
+

+ 102
- 0
assets/logos/biglogo.inkscape.svg View File

@@ -0,0 +1,102 @@
1
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+<svg
5
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+   xmlns:cc="http://creativecommons.org/ns#"
7
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+   xmlns:svg="http://www.w3.org/2000/svg"
9
+   xmlns="http://www.w3.org/2000/svg"
10
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+   width="1060"
13
+   height="319.63718"
14
+   viewBox="0 0 1060 319.63716"
15
+   id="svg2"
16
+   version="1.1"
17
+   inkscape:version="0.91 r13725"
18
+   sodipodi:docname="biglogo.inkscape.svg"
19
+   inkscape:export-filename="/home/skylar/Documents/Projects/Assets/PCInfo/biglogo.png"
20
+   inkscape:export-xdpi="85.033913"
21
+   inkscape:export-ydpi="85.033913">
22
+  <defs
23
+     id="defs4" />
24
+  <sodipodi:namedview
25
+     id="base"
26
+     pagecolor="#ffffff"
27
+     bordercolor="#666666"
28
+     borderopacity="1.0"
29
+     inkscape:pageopacity="0.0"
30
+     inkscape:pageshadow="2"
31
+     inkscape:zoom="0.35"
32
+     inkscape:cx="344.9906"
33
+     inkscape:cy="-237.32428"
34
+     inkscape:document-units="px"
35
+     inkscape:current-layer="layer1"
36
+     showgrid="false"
37
+     fit-margin-top="30"
38
+     fit-margin-left="30"
39
+     fit-margin-right="30"
40
+     fit-margin-bottom="30"
41
+     units="px"
42
+     inkscape:window-width="1280"
43
+     inkscape:window-height="966"
44
+     inkscape:window-x="2464"
45
+     inkscape:window-y="60"
46
+     inkscape:window-maximized="1" />
47
+  <metadata
48
+     id="metadata7">
49
+    <rdf:RDF>
50
+      <cc:Work
51
+         rdf:about="">
52
+        <dc:format>image/svg+xml</dc:format>
53
+        <dc:type
54
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
55
+        <dc:title></dc:title>
56
+      </cc:Work>
57
+    </rdf:RDF>
58
+  </metadata>
59
+  <g
60
+     inkscape:label="Layer 1"
61
+     inkscape:groupmode="layer"
62
+     id="layer1"
63
+     transform="translate(1309.9906,18.884937)">
64
+    <text
65
+       xml:space="preserve"
66
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
67
+       x="-1054.0682"
68
+       y="456.07269"
69
+       id="text4136"
70
+       sodipodi:linespacing="125%"><tspan
71
+         sodipodi:role="line"
72
+         id="tspan4138"
73
+         x="-1054.0682"
74
+         y="456.07269" /></text>
75
+    <g
76
+       id="g4987"
77
+       transform="matrix(2.2560985,0,0,2.2560985,1305.2677,-847.00081)">
78
+      <path
79
+         style="fill:#2196f3"
80
+         inkscape:connector-curvature="0"
81
+         d="m -1077.8825,494.0911 -13.4176,-3.8933 c -1.4077,-0.396 -2.1996,-1.8697 -1.8037,-3.2774 l 30.0246,-103.42558 c 0.396,-1.4077 1.8697,-2.19959 3.2775,-1.80369 l 13.4176,3.89336 c 1.4077,0.3959 2.1996,1.86964 1.8036,3.27736 l -30.0246,103.42555 c -0.4179,1.4078 -1.8696,2.2216 -3.2774,1.8037 z m -25.0755,-24.67967 9.5683,-10.20615 c 1.0118,-1.07786 0.9458,-2.79352 -0.176,-3.78335 l -19.9284,-17.53086 19.9284,-17.53085 c 1.1218,-0.98983 1.2098,-2.7055 0.176,-3.78335 l -9.5683,-10.20615 c -0.9898,-1.05579 -2.6615,-1.12183 -3.7393,-0.11006 l -31.6964,29.69478 c -1.1217,1.0338 -1.1217,2.81542 0,3.84931 l 31.6964,29.71666 c 1.0778,1.01182 2.7495,0.96784 3.7393,-0.11006 z m 71.9711,0.132 31.69625,-29.71667 c 1.1218,-1.0338 1.1218,-2.8155 0,-3.8493 l -31.69625,-29.73874 c -1.0558,-0.98983 -2.7275,-0.94577 -3.7393,0.11006 l -9.5683,10.20615 c -1.0118,1.07785 -0.9458,2.79352 0.176,3.78336 l 19.9284,17.55283 -19.9284,17.53085 c -1.1218,0.98984 -1.2098,2.70549 -0.176,3.78336 l 9.5683,10.20615 c 0.9898,1.07786 2.6615,1.12183 3.7393,0.132 z"
82
+         id="path4220" />
83
+      <text
84
+         sodipodi:linespacing="125%"
85
+         id="text4229"
86
+         y="417.0824"
87
+         x="-945.60785"
88
+         style="font-style:normal;font-weight:normal;font-size:56.09888458px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
89
+         xml:space="preserve"><tspan
90
+           style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Ubuntu;-inkscape-font-specification:Ubuntu"
91
+           y="417.0824"
92
+           x="-945.60785"
93
+           id="tspan4231"
94
+           sodipodi:role="line">App</tspan><tspan
95
+           style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Ubuntu;-inkscape-font-specification:Ubuntu"
96
+           id="tspan4233"
97
+           y="487.20599"
98
+           x="-945.60785"
99
+           sodipodi:role="line">Template</tspan></text>
100
+    </g>
101
+  </g>
102
+</svg>

BIN
assets/logos/biglogo.png View File


+ 10
- 0
assets/logos/biglogo.svg View File

@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="319.64" width="1060" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 1060 319.63716">
3
+<g transform="translate(1310 18.885)">
4
+<text style="word-spacing:0px;letter-spacing:0px" xml:space="preserve" font-size="40px" y="456.07269" x="-1054.0682" font-family="sans-serif" line-height="125%" fill="#000000"><tspan x="-1054.0682" y="456.07269"/></text>
5
+<g transform="matrix(2.2561 0 0 2.2561 1305.3 -847)">
6
+<path fill="#2196f3" d="m-1077.9 494.09-13.418-3.8933c-1.4077-0.396-2.1996-1.8697-1.8037-3.2774l30.025-103.43c0.396-1.4077 1.8697-2.1996 3.2775-1.8037l13.418 3.8934c1.4077 0.3959 2.1996 1.8696 1.8036 3.2774l-30.025 103.43c-0.4179 1.4078-1.8696 2.2216-3.2774 1.8037zm-25.076-24.68 9.5683-10.206c1.0118-1.0779 0.9458-2.7935-0.176-3.7834l-19.928-17.531 19.928-17.531c1.1218-0.98983 1.2098-2.7055 0.176-3.7834l-9.5683-10.206c-0.9898-1.0558-2.6615-1.1218-3.7393-0.11006l-31.696 29.695c-1.1217 1.0338-1.1217 2.8154 0 3.8493l31.696 29.717c1.0778 1.0118 2.7495 0.96784 3.7393-0.11006zm71.971 0.132 31.696-29.717c1.1218-1.0338 1.1218-2.8155 0-3.8493l-31.696-29.739c-1.0558-0.98983-2.7275-0.94577-3.7393 0.11006l-9.5683 10.206c-1.0118 1.0778-0.9458 2.7935 0.176 3.7834l19.928 17.553-19.928 17.531c-1.1218 0.98984-1.2098 2.7055-0.176 3.7834l9.5683 10.206c0.9898 1.0779 2.6615 1.1218 3.7393 0.132z"/>
7
+<text style="word-spacing:0px;letter-spacing:0px" line-height="125%" font-size="56.099px" y="417.0824" x="-945.60785" font-family="Ubuntu" xml:space="preserve" fill="#000000"><tspan y="417.0824" x="-945.60785">App</tspan><tspan y="487.20599" x="-945.60785">Template</tspan></text>
8
+</g>
9
+</g>
10
+</svg>

+ 66
- 0
assets/logos/logo.inkscape.svg View File

@@ -0,0 +1,66 @@
1
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+<svg
5
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+   xmlns:cc="http://creativecommons.org/ns#"
7
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+   xmlns:svg="http://www.w3.org/2000/svg"
9
+   xmlns="http://www.w3.org/2000/svg"
10
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+   width="512"
13
+   height="512"
14
+   viewBox="0 0 512.00001 512.00001"
15
+   id="svg2"
16
+   version="1.1"
17
+   inkscape:version="0.91 r13725"
18
+   sodipodi:docname="logo.inkscape.svg"
19
+   inkscape:export-filename="/home/skylar/Documents/Projects/Sources/AppTemplate/assets/logos/logo.png"
20
+   inkscape:export-xdpi="90"
21
+   inkscape:export-ydpi="90">
22
+  <defs
23
+     id="defs4" />
24
+  <sodipodi:namedview
25
+     id="base"
26
+     pagecolor="#ffffff"
27
+     bordercolor="#666666"
28
+     borderopacity="1.0"
29
+     inkscape:pageopacity="0.0"
30
+     inkscape:pageshadow="2"
31
+     inkscape:zoom="0.35"
32
+     inkscape:cx="-11.806452"
33
+     inkscape:cy="359.5872"
34
+     inkscape:document-units="px"
35
+     inkscape:current-layer="layer1"
36
+     showgrid="false"
37
+     units="px"
38
+     inkscape:window-width="1280"
39
+     inkscape:window-height="966"
40
+     inkscape:window-x="2464"
41
+     inkscape:window-y="60"
42
+     inkscape:window-maximized="1" />
43
+  <metadata
44
+     id="metadata7">
45
+    <rdf:RDF>
46
+      <cc:Work
47
+         rdf:about="">
48
+        <dc:format>image/svg+xml</dc:format>
49
+        <dc:type
50
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
51
+        <dc:title></dc:title>
52
+      </cc:Work>
53
+    </rdf:RDF>
54
+  </metadata>
55
+  <g
56
+     inkscape:label="Layer 1"
57
+     inkscape:groupmode="layer"
58
+     id="layer1"
59
+     transform="translate(0,-540.36216)">
60
+    <path
61
+       style="fill:#2196f3"
62
+       inkscape:connector-curvature="0"
63
+       d="m 227.34676,974.47435 -42.52682,-12.33973 c -4.46167,-1.25511 -6.97158,-5.92598 -5.71679,-10.38766 l 95.16236,-327.80524 c 1.2551,-4.46168 5.92598,-6.97156 10.38796,-5.71677 l 42.52681,12.33993 c 4.46168,1.2548 6.97158,5.92578 5.71648,10.38753 L 237.7344,968.75756 c -1.32452,4.46199 -5.92566,7.04131 -10.38764,5.71679 z M 147.87047,896.25264 178.197,863.90446 c 3.20688,-3.41626 2.99769,-8.854 -0.55783,-11.99125 l -63.16265,-55.56369 63.16265,-55.56368 c 3.55552,-3.13724 3.83444,-8.57502 0.55783,-11.99125 l -30.32653,-32.34818 c -3.13714,-3.34631 -8.43556,-3.55562 -11.85164,-0.34884 l -100.461078,94.117 c -3.555197,3.27661 -3.555197,8.92342 0,12.20032 l 100.461078,94.18634 c 3.41608,3.20693 8.7145,3.06754 11.85164,-0.34884 z m 228.11092,0.41838 100.46061,-94.18638 c 3.55552,-3.2766 3.55552,-8.92367 0,-12.20028 L 375.98139,696.02804 c -3.34634,-3.13725 -8.64476,-2.99759 -11.85163,0.34883 l -30.32654,32.34818 c -3.20688,3.41623 -2.99768,8.85401 0.55784,11.99128 l 63.16265,55.63334 -63.16265,55.56366 c -3.55552,3.13729 -3.83444,8.575 -0.55784,11.9913 l 30.32654,32.34817 c 3.13715,3.41625 8.43557,3.55561 11.85163,0.41837 z"
64
+       id="path4220" />
65
+  </g>
66
+</svg>

BIN
assets/logos/logo.png View File


+ 6
- 0
assets/logos/logo.svg View File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="512" width="512" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 512.00001 512.00001">
3
+<g transform="translate(0 -540.36)">
4
+<path fill="#2196f3" d="m227.35 974.47-42.527-12.34c-4.4617-1.2551-6.9716-5.926-5.7168-10.388l95.162-327.81c1.2551-4.4617 5.926-6.9716 10.388-5.7168l42.527 12.34c4.4617 1.2548 6.9716 5.9258 5.7165 10.388l-95.17 327.82c-1.3245 4.462-5.9257 7.0413-10.388 5.7168zm-79.48-78.22 30.33-32.35c3.2069-3.4163 2.9977-8.854-0.55783-11.991l-63.163-55.564 63.163-55.564c3.5555-3.1372 3.8344-8.575 0.55783-11.991l-30.327-32.348c-3.1371-3.3463-8.4356-3.5556-11.852-0.34884l-100.46 94.117c-3.5552 3.2766-3.5552 8.9234 0 12.2l100.46 94.186c3.4161 3.2069 8.7145 3.0675 11.852-0.34884zm228.11 0.41838 100.46-94.186c3.5555-3.2766 3.5555-8.9237 0-12.2l-100.46-94.25c-3.3463-3.1372-8.6448-2.9976-11.852 0.34883l-30.327 32.348c-3.2069 3.4162-2.9977 8.854 0.55784 11.991l63.163 55.633-63.163 55.564c-3.5555 3.1373-3.8344 8.575-0.55784 11.991l30.327 32.348c3.1372 3.4162 8.4356 3.5556 11.852 0.41837z"/>
5
+</g>
6
+</svg>

+ 12
- 0
assets/static/bootstrap.min.css
File diff suppressed because it is too large
View File


+ 7
- 0
assets/static/bootstrap.min.js
File diff suppressed because it is too large
View File


+ 5
- 0
assets/static/fontawesome-all.min.js
File diff suppressed because it is too large
View File


+ 2
- 0
assets/static/jquery-3.3.1.slim.min.js
File diff suppressed because it is too large
View File


+ 13
- 0
composer.json View File

@@ -0,0 +1,13 @@
1
+{
2
+    "name": "netsyms/image-host",
3
+    "require": {
4
+        "catfan/medoo": "^1.5"
5
+    },
6
+    "license": "MPL-2.0",
7
+    "authors": [
8
+        {
9
+            "name": "Skylar Ittner",
10
+            "email": "admin@netsyms.com"
11
+        }
12
+    ]
13
+}

BIN
database.mwb View File


+ 34
- 0
index.php View File

@@ -0,0 +1,34 @@
1
+<?php
2
+
3
+/* This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
+
7
+require_once __DIR__ . "/required.php";
8
+
9
+require_once __DIR__ . "/routes.php";
10
+
11
+?>
12
+<!DOCTYPE html>
13
+<meta charset="UTF-8">
14
+<title><?php echo SITE_TITLE; ?></title>
15
+<link rel="icon" href="<?php echo FAVICON; ?>" />
16
+<?php if (USE_CDN) { ?>
17
+<link href="https://static.netsyms.net/bootstrap/4/bootstrap.min.css" rel="stylesheet" />
18
+<script src="https://static.netsyms.net/jquery/jquery-3.3.1.slim.min.js"></script>
19
+<script src="https://static.netsyms.net/bootstrap/4/bootstrap.min.js"></script>
20
+<script async defer src="https://static.netsyms.net/fontawesome/5.0/fontawesome-all.min.js"></script>
21
+<?php } else { ?>
22
+<link href="assets/static/bootstrap.materia.min.css" rel="stylesheet" />
23
+<script src="assets/static/jquery-3.3.1.slim.min.js"></script>
24
+<script src="assets/static/bootstrap.min.js"></script>
25
+<script async defer src="assets/static/fontawesome-all.min.js"></script>
26
+<?php } ?>
27
+<?php
28
+
29
+if (empty($_GET['page'])) {
30
+    include __DIR__ . "/routes/" . Routes::getRoute();
31
+} else {
32
+    include __DIR__ . "/routes/" . Routes::getRoute($_GET['page']);
33
+}
34
+?>

+ 7
- 0
nbproject/project.properties View File

@@ -0,0 +1,7 @@
1
+include.path=${php.global.include.path}
2
+php.version=PHP_70
3
+source.encoding=UTF-8
4
+src.dir=.
5
+tags.asp=false
6
+tags.short=false
7
+web.root=.

+ 9
- 0
nbproject/project.xml View File

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://www.netbeans.org/ns/project/1">
3
+    <type>org.netbeans.modules.php.project</type>
4
+    <configuration>
5
+        <data xmlns="http://www.netbeans.org/ns/php-project/1">
6
+            <name>AppTemplate</name>
7
+        </data>
8
+    </configuration>
9
+</project>

+ 26
- 0
required.php View File

@@ -0,0 +1,26 @@
1
+<?php
2
+
3
+/* This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
+
7
+require_once __DIR__ . "/settings.php";
8
+
9
+require_once __DIR__ . "/vendor/autoload.php";
10
+
11
+use Medoo\Medoo;
12
+
13
+$database;
14
+try {
15
+    $database = new Medoo([
16
+        'database_type' => DB_TYPE,
17
+        'database_name' => DB_NAME,
18
+        'server' => DB_SERVER,
19
+        'username' => DB_USER,
20
+        'password' => DB_PASS,
21
+        'charset' => DB_CHARSET
22
+    ]);
23
+} catch (Exception $ex) {
24
+    header('HTTP/1.1 500 Internal Server Error');
25
+    die("Database error.  Try again later. (" . $ex->getMessage() . ")");
26
+}

+ 21
- 0
routes.php View File

@@ -0,0 +1,21 @@
1
+<?php
2
+
3
+/* This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
+
7
+class Routes {
8
+
9
+    private static $ROUTES = [
10
+        "home" => "home.php"
11
+    ];
12
+
13
+    public static function getRoute($page = "home") {
14
+        if (array_key_exists($page, Routes::$ROUTES)) {
15
+            return Routes::$ROUTES[$page];
16
+        } else {
17
+            return Routes::$ROUTES["home"];
18
+        }
19
+    }
20
+
21
+}

+ 8
- 0
routes/home.php View File

@@ -0,0 +1,8 @@
1
+<?php
2
+
3
+/* This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
+?>
7
+
8
+<h1>Hello World!</h1>

+ 17
- 0
settings.template.php View File

@@ -0,0 +1,17 @@
1
+<?php
2
+
3
+define("SITE_TITLE", "App Template");
4
+
5
+define("DB_TYPE", "mysql");
6
+define("DB_NAME", "app");
7
+define("DB_SERVER", "localhost");
8
+define("DB_USER", "");
9
+define("DB_PASS", "");
10
+define("DB_CHARSET", "utf8");
11
+
12
+define("LOGO_URL", "assets/logos/biglogo.png");
13
+define("LOGO_ALT", "App Template");
14
+define("FAVICON", "assets/logos/logo.svg");
15
+define("USE_CDN", false);
16
+
17
+define("DATETIME_FORMAT", "M j, Y @ g:i A");

Loading…
Cancel
Save