"",
// Username
"username" => "Job Opened - RCCService",
// Avatar URL.
// Uncomment to use custom avatar instead of bot's pic
//"avatar_url" => "https://ru.gravatar.com/userimage/28503754/1168e2bddca84fec2a63addb348c571d.jpg?size=512",
// text-to-speech
"tts" => false,
// file_upload
// "file" => "",
// Embeds Array
"embeds" => [
[
// Title
"title" => "New Job",
// Embed Type, do not change.
"type" => "rich",
// Description
"description" => "A new job was opened at ".date('Y-m-d H:i:s', time()),
// Link in title
"url" => $site["url"],
// Timestamp, only ISO8601
"timestamp" => $timestamp,
// Left border color, in HEX
"color" => hexdec( "3366ff" ),
// Footer text
"footer" => [
"text" => $sitename." RCCService",
"icon_url" => $site["url"]."/assets/renders/user/headshot?userId=1"
],
// Embed image
"image" => [
"url" => ""
],
// thumbnail
//"thumbnail" => [
// "url" => "https://ru.gravatar.com/userimage/28503754/1168e2bddca84fec2a63addb348c571d.jpg?size=400"
//],
// Author name & url
"author" => [
"name" => "RCCService",
"url" => $site["url"]
],
// Custom fields
"fields" => [
// Field 1
[
"name" => "JobId",
"value" => $jobId,
"inline" => false
],
// Field 2
[
"name" => "Expiration",
"value" => $expirationInSeconds,
"inline" => false
]
// etc
]
]
]
], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE );
discordmsg($msg, $webhook); // SENDS MESSAGE TO DISCORD
}
class PartyStarter {
function bootstrap() {
echo '
';
}
function header() {
// alert
$alert = false;
if($alert) {
$alert = 'Sexy alert';
// do not touch
$alert = '
'.$alert.'
';
}
// to not confuse you i renamed it from loggedoutheader to header since qzip made it both lol
require 'core/config.php';
$grubloxlogotohome = 'G GRUBLOX';
$showhome = '';
$adminTab = " ";
if (isset($_SESSION['user'])) {
$showhome = '