-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4fb5e93
Showing
230 changed files
with
36,628 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Nameless-Store | ||
|
||
## Requirements | ||
- NamelessMC version 2 pre-release 8 | ||
- Paypal business account | ||
|
||
## Installation: | ||
- Upload the contents of the **upload** directory straight into your NamelessMC installation's directory | ||
- Activate the module in the StaffCP -> Modules tab | ||
|
||
## Notes: | ||
- If you are using a custom template, make sure you add the template file (in the **custom/templates/Default/store/** or **custom/templates/DefaultRevamp/store/** directory) to your custom template! | ||
- The store module is in early development and contain bugs and missing features | ||
- Only supporting PayPal as payment gateway | ||
|
||
## Minecraft Community website: | ||
I will love if you add your minecraft server to my Minecraft Community website, and adding your voting link to your website :) | ||
There is also monthly 15 USD giveaways so register today :P | ||
Link: [https://mccommunity.net/](https://mccommunity.net/) | ||
|
||
## NamelessHosting: | ||
Create your own free NamelessMC website at NamelessHosting for free at [https://namelesshosting.com](https://namelesshosting.com/) | ||
|
||
## Contact me: | ||
- Discord: [https://discord.gg/cY5Yfzd](https://discord.gg/cY5Yfzd) | ||
- Website: [https://partydragen.com](https://partydragen.com) |
130 changes: 130 additions & 0 deletions
130
upload/custom/panel_templates/Default/store/categories_edit.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
{include file='header.tpl'} | ||
<body class="hold-transition sidebar-mini"> | ||
<div class="wrapper"> | ||
{include file='navbar.tpl'} | ||
{include file='sidebar.tpl'} | ||
|
||
<div class="content-wrapper"> | ||
<div class="content-header"> | ||
<div class="container-fluid"> | ||
<div class="row mb-2"> | ||
<div class="col-sm-6"> | ||
<h1 class="m-0 text-dark">{$CATEGORIES}</h1> | ||
</div> | ||
<div class="col-sm-6"> | ||
<ol class="breadcrumb float-sm-right"> | ||
<li class="breadcrumb-item"><a href="{$PANEL_INDEX}">{$DASHBOARD}</a></li> | ||
<li class="breadcrumb-item active">{$BUYCRAFT}</li> | ||
<li class="breadcrumb-item active">{$CATEGORIES}</li> | ||
</ol> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Main content --> | ||
<section class="content"> | ||
<div class="container-fluid"> | ||
{if isset($NEW_UPDATE)} | ||
{if $NEW_UPDATE_URGENT eq true} | ||
<div class="alert alert-danger"> | ||
{else} | ||
<div class="alert alert-primary alert-dismissible" id="updateAlert"> | ||
<button type="button" class="close" id="closeUpdate" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
{/if} | ||
{$NEW_UPDATE} | ||
<br /> | ||
<a href="{$UPDATE_LINK}" class="btn btn-primary" style="text-decoration:none">{$UPDATE}</a> | ||
<hr /> | ||
{$CURRENT_VERSION}<br /> | ||
{$NEW_VERSION} | ||
</div> | ||
{/if} | ||
|
||
<div class="card"> | ||
<div class="card-body"> | ||
<h5 style="display:inline">{$EDITING_CATEGORY}</h5> | ||
<div class="float-md-right"> | ||
<a href="/panel/store/packages" class="btn btn-primary">{$BACK}</a> | ||
</div> | ||
<hr /> | ||
|
||
{if isset($SUCCESS)} | ||
<div class="alert alert-success alert-dismissible"> | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<h5><i class="icon fa fa-check"></i> {$SUCCESS_TITLE}</h5> | ||
{$SUCCESS} | ||
</div> | ||
{/if} | ||
|
||
{if isset($ERRORS) && count($ERRORS)} | ||
<div class="alert alert-danger alert-dismissible"> | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<h5><i class="icon fas fa-exclamation-triangle"></i> {$ERRORS_TITLE}</h5> | ||
<ul> | ||
{foreach from=$ERRORS item=error} | ||
<li>{$error}</li> | ||
{/foreach} | ||
</ul> | ||
</div> | ||
{/if} | ||
|
||
<form action="" method="post"> | ||
<div class="form-group"> | ||
<label for="InputName">{$CATEGORY_NAME}</label> | ||
<input type="text" name="name" class="form-control" id="InputName" value="{$CATEGORY_NAME_VALUE}" placeholder="{$CATEGORY_NAME}"> | ||
</div> | ||
<div class="form-group"> | ||
<strong><label for="inputDescription">{$CATEGORY_DESCRIPTION}</label></strong> | ||
<textarea id="inputDescription" name="description">{$CATEGORY_DESCRIPTION_VALUE}</textarea> | ||
</div> | ||
<div class="form-group"> | ||
<input type="hidden" name="token" value="{$TOKEN}"> | ||
<input type="submit" class="btn btn-primary" value="{$SUBMIT}"> | ||
</div> | ||
</form> | ||
|
||
|
||
<!--<form action="" method="post" enctype="multipart/form-data"> | ||
<div class="form-group"> | ||
<strong>{$CATEGORY_IMAGE}</strong><br /> | ||
{if $CATEGORY_IMAGE_VALUE} | ||
<img src="{$CATEGORY_IMAGE_VALUE}" alt="{$CATEGORY_NAME}" style="max-height:200px;max-width:200px;"><br /> | ||
{/if} | ||
<strong>{$UPLOAD_NEW_IMAGE}</strong><br /> | ||
<label class="btn btn-secondary"> | ||
{$BROWSE} <input type="file" name="store_image" hidden/> | ||
</label> | ||
</div> | ||
<div class="form-group"> | ||
<input type="hidden" name="token" value="{$TOKEN}"> | ||
<input type="hidden" name="type" value="image"> | ||
<input type="submit" value="{$SUBMIT}" class="btn btn-primary"> | ||
</div> | ||
</form>--> | ||
|
||
</div> | ||
</div> | ||
|
||
<!-- Spacing --> | ||
<div style="height:1rem;"></div> | ||
|
||
</div> | ||
</section> | ||
</div> | ||
|
||
{include file='footer.tpl'} | ||
|
||
</div> | ||
<!-- ./wrapper --> | ||
|
||
{include file='scripts.tpl'} | ||
|
||
</body> | ||
</html> |
129 changes: 129 additions & 0 deletions
129
upload/custom/panel_templates/Default/store/categories_new.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
{include file='header.tpl'} | ||
<body class="hold-transition sidebar-mini"> | ||
<div class="wrapper"> | ||
{include file='navbar.tpl'} | ||
{include file='sidebar.tpl'} | ||
|
||
<div class="content-wrapper"> | ||
<div class="content-header"> | ||
<div class="container-fluid"> | ||
<div class="row mb-2"> | ||
<div class="col-sm-6"> | ||
<h1 class="m-0 text-dark">{$PACKAGES}</h1> | ||
</div> | ||
<div class="col-sm-6"> | ||
<ol class="breadcrumb float-sm-right"> | ||
<li class="breadcrumb-item"><a href="{$PANEL_INDEX}">{$DASHBOARD}</a></li> | ||
<li class="breadcrumb-item active">{$BUYCRAFT}</li> | ||
<li class="breadcrumb-item active">{$PACKAGES}</li> | ||
</ol> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Main content --> | ||
<section class="content"> | ||
<div class="container-fluid"> | ||
{if isset($NEW_UPDATE)} | ||
{if $NEW_UPDATE_URGENT eq true} | ||
<div class="alert alert-danger"> | ||
{else} | ||
<div class="alert alert-primary alert-dismissible" id="updateAlert"> | ||
<button type="button" class="close" id="closeUpdate" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
{/if} | ||
{$NEW_UPDATE} | ||
<br /> | ||
<a href="{$UPDATE_LINK}" class="btn btn-primary" style="text-decoration:none">{$UPDATE}</a> | ||
<hr /> | ||
{$CURRENT_VERSION}<br /> | ||
{$NEW_VERSION} | ||
</div> | ||
{/if} | ||
|
||
<div class="card"> | ||
<div class="card-body"> | ||
<h5 style="display:inline">{$NEW_CATEGORY}</h5> | ||
<div class="float-md-right"> | ||
<a href="/panel/store/packages" class="btn btn-primary">{$BACK}</a> | ||
</div> | ||
<hr /> | ||
|
||
{if isset($SUCCESS)} | ||
<div class="alert alert-success alert-dismissible"> | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<h5><i class="icon fa fa-check"></i> {$SUCCESS_TITLE}</h5> | ||
{$SUCCESS} | ||
</div> | ||
{/if} | ||
|
||
{if isset($ERRORS) && count($ERRORS)} | ||
<div class="alert alert-danger alert-dismissible"> | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<h5><i class="icon fas fa-exclamation-triangle"></i> {$ERRORS_TITLE}</h5> | ||
<ul> | ||
{foreach from=$ERRORS item=error} | ||
<li>{$error}</li> | ||
{/foreach} | ||
</ul> | ||
</div> | ||
{/if} | ||
|
||
<form action="" method="post"> | ||
<div class="form-group"> | ||
<label for="InputName">{$CATEGORY_NAME}</label> | ||
<input type="text" name="name" class="form-control" id="InputName" placeholder="{$CATEGORY_NAME}"> | ||
</div> | ||
<div class="form-group"> | ||
<strong><label for="inputDescription">{$CATEGORY_DESCRIPTION}</label></strong> | ||
<textarea id="inputDescription" name="description">{$CATEGORY_DESCRIPTION_VALUE}</textarea> | ||
</div> | ||
<div class="form-group"> | ||
<input type="hidden" name="token" value="{$TOKEN}"> | ||
<input type="submit" class="btn btn-primary" value="{$SUBMIT}"> | ||
</div> | ||
</form> | ||
|
||
<!---<form action="" method="post" enctype="multipart/form-data"> | ||
<div class="form-group"> | ||
<strong>{$CATEGORY_IMAGE}</strong><br /> | ||
{if $CATEGORY_IMAGE_VALUE} | ||
<img src="{$CATEGORY_IMAGE_VALUE}" alt="{$CATEGORY_NAME}" style="max-height:200px;max-width:200px;"><br /> | ||
{/if} | ||
<strong>{$UPLOAD_NEW_IMAGE}</strong><br /> | ||
<label class="btn btn-secondary"> | ||
{$BROWSE} <input type="file" name="store_image" hidden/> | ||
</label> | ||
</div> | ||
<div class="form-group"> | ||
<input type="hidden" name="token" value="{$TOKEN}"> | ||
<input type="hidden" name="type" value="image"> | ||
<input type="submit" value="{$SUBMIT}" class="btn btn-primary"> | ||
</div> | ||
</form>---> | ||
|
||
</div> | ||
</div> | ||
|
||
<!-- Spacing --> | ||
<div style="height:1rem;"></div> | ||
|
||
</div> | ||
</section> | ||
</div> | ||
|
||
{include file='footer.tpl'} | ||
|
||
</div> | ||
<!-- ./wrapper --> | ||
|
||
{include file='scripts.tpl'} | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.