Ejemplo n.º 1
0
<?php

print getPurpleColoredString("");
print getPurpleColoredString("8888888b.                            888     \n");
print getPurpleColoredString("888   Y88b                           888     \n");
print getPurpleColoredString("888    888                           888     \n");
print getPurpleColoredString("888   d88P .d88b.   .d88b.   .d8888b 88888b. \n");
print getPurpleColoredString("8888888P\" d88\"\"88b d88\"\"88b d88P\"    888 \"88b\n");
print getPurpleColoredString("888       888  888 888  888 888      888  888\n");
print getPurpleColoredString("888       Y88..88P Y88..88P Y88b.    888  888\n");
print getPurpleColoredString("888        \"Y88P\"   \"Y88P\"   \"Y8888P 888  888\n");
print "\n";
print getCyanColoredString("Setting up empty project...");
recurse_copy(realpath(__DIR__ . '/base/'), realpath(__DIR__ . '/../../../../'));
print getCyanColoredString(" Finished!\n\n");
print getLightCyanColoredString("Welcome to the Dog Pound!!!\n");
function getCyanColoredString($string)
{
    return getColoredString($string, '0;36');
}
function getLightCyanColoredString($string)
{
    return getColoredString($string, '1;36');
}
function getGreenColoredString($string)
{
    return getColoredString($string, '0;33');
}
function getPurpleColoredString($string)
{
    return getColoredString($string, '0;35');
Ejemplo n.º 2
0
print getGreenColoredString("\t\t\t\$this->getCurrentAccount();\n");
print getGreenColoredString("\t\t}\n");
print getGreenColoredString("\t}\n");
print getGreenColoredString("\n");
print getGreenColoredString("\tfunction getCurrentUser(){\n");
print getGreenColoredString("\t\t\$this->db->where('id', \$_SESSION['user_id']);\n");
print getGreenColoredString("\t\t\$this->addToApplicationData('current_user', \$this->db->getOne('users'));\n");
print getGreenColoredString("\t}\n");
print getGreenColoredString("\n");
print getGreenColoredString("\tfunction getCurrentAccount(){\n");
print getGreenColoredString("\t\t\$this->db->where('id', \$_SESSION['account_id']);\n");
print getGreenColoredString("\t\t\$this->addToApplicationData('current_account', \$this->db->getOne('accounts'));\n");
print getGreenColoredString("\t}\n");
print getGreenColoredString("}\n");
print "\n";
print getCyanColoredString("Have a nice day!\n\n");
function getCyanColoredString($string)
{
    return getColoredString($string, '0;36');
}
function getLightCyanColoredString($string)
{
    return getColoredString($string, '1;36');
}
function getGreenColoredString($string)
{
    return getColoredString($string, '0;33');
}
function getPurpleColoredString($string)
{
    return getColoredString($string, '0;35');