unslider as part of the project, autoload structure
This commit is contained in:
parent
82e5c171c4
commit
adb779caaf
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +1,6 @@
|
||||
[submodule "lib/system"]
|
||||
path = lib/system
|
||||
url = git@mojotrollz.eu:system.git
|
||||
[submodule "lib/unslider"]
|
||||
path = lib/unslider
|
||||
url = git@mojotrollz.eu:webcraft/lib_unslider.git
|
||||
|
||||
4
api.php
4
api.php
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once 'lib/system/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'mojotrollz/autoload.inc'; //Project Classes
|
||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'mojotrollz/autoload.inc'; //Project Classes
|
||||
require_once '/home/web/web/config/get_config.php';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
<?php
|
||||
require_once 'lib/system/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'lib/font_awesome/autoload.inc';
|
||||
require_once 'mojotrollz/autoload.inc'; //Project Classes
|
||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'mojotrollz/autoload.inc'; //Project Classes
|
||||
require_once '/home/web/web/config/get_config.php';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||
|
||||
4
lib/autoload.inc
Normal file
4
lib/autoload.inc
Normal file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
require_once dirname(__FILE__).'/system/autoload.inc';
|
||||
require_once dirname(__FILE__).'/unslider/autoload.inc';
|
||||
require_once dirname(__FILE__).'/font_awesome/autoload.inc';
|
||||
1
lib/unslider
Submodule
1
lib/unslider
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit b30ec87f13b707a628189b8db0569ace32e941f2
|
||||
@ -4,12 +4,18 @@ class default_page extends \SYSTEM\PAGE\Page {
|
||||
return \SYSTEM\HTML\html::script(\LIB\lib_jquery::js()).
|
||||
\SYSTEM\HTML\html::script(\LIB\lib_bootstrap::js()).
|
||||
\SYSTEM\HTML\html::script(\LIB\lib_system::js()).
|
||||
\SYSTEM\HTML\html::script(\LIB\lib_textillate::js()).
|
||||
\SYSTEM\HTML\html::script(\LIB\lib_lettering::js()).
|
||||
\SYSTEM\HTML\html::script(\LIB\lib_unslider::js()).
|
||||
\SYSTEM\HTML\html::script(\LIB\lib_jqbootstrapvalidation::js()).
|
||||
\SYSTEM\HTML\html::script(\SYSTEM\WEBPATH(new PPAGE(),'default_page/js/default_page.js'));
|
||||
}
|
||||
|
||||
private function css(){
|
||||
return \SYSTEM\HTML\html::link(\LIB\lib_bootstrap::css()).
|
||||
\SYSTEM\HTML\html::link(\LIB\lib_font_awesome::css()).
|
||||
\SYSTEM\HTML\html::link(\LIB\lib_animate::css()).
|
||||
\SYSTEM\HTML\html::link(\LIB\lib_system::css()).
|
||||
\SYSTEM\HTML\html::link(\SYSTEM\WEBPATH(new PPAGE(),'default_page/css/default_page.css')).
|
||||
\SYSTEM\HTML\html::link(\SYSTEM\WEBPATH(new PPAGE(),'default_page/css/navbar.css'));
|
||||
}
|
||||
|
||||
@ -8,29 +8,15 @@
|
||||
</ul>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="row cleafix">
|
||||
<div class="col-md-4 logo_hover"></div>
|
||||
<div class="col-md-8 texts_contact_2 trojan">SUBMIT A NEW SERVER</div>
|
||||
</div>
|
||||
<form class="textbox trojan" style="padding:10px" id="contact_form">
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<label class="webcraft_margin_top_40">NAME:</label>
|
||||
<input class="form-control text_width"
|
||||
type="text"
|
||||
id="input_contact_name"
|
||||
placeholder="Server Name"
|
||||
placeholder="New Server"
|
||||
required data-validation-required-message="Please tell us the Server's Name ;-).">
|
||||
</div>
|
||||
<div class="controls">
|
||||
<label class="webcraft_margin_top_40">WWW:</label>
|
||||
<input class="form-control text_width"
|
||||
type="url"
|
||||
id="input_contact_url"
|
||||
placeholder="www.example.com"
|
||||
data-validation-url-message="Please give us an valid url of your server!"
|
||||
required data-validation-required-message="Please give us an url for of your server!">
|
||||
</div>
|
||||
<div class="help-block"></div>
|
||||
<button type="submit" class="btn-sm btn btn-success"><span class="glyphicon glyphicon-envelope" aria-hidden="true"></span> Submit for Evaluation!</button>
|
||||
</div>
|
||||
|
||||
4
sai.php
4
sai.php
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once 'lib/system/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'mojotrollz/autoload.inc'; //Project Classes
|
||||
require_once 'lib/autoload.inc'; //SYSTEM Classes
|
||||
require_once 'mojotrollz/autoload.inc'; //Project Classes
|
||||
require_once '/home/web/web/config/get_config.php';
|
||||
|
||||
\SYSTEM\system::start(\WEBCRAFT\get_config(dirname(__FILE__)));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user