Exemplo n.º 1
0
include "fs_folders/php_functions/Extends/LookbookExtends.php";
include "fs_folders/php_functions/Class/Lookbook.php";
require "fs_folders/php_functions/function.php";
require "fs_folders/php_functions/library.php";
require "fs_folders/php_functions/source.php";
require "fs_folders/php_functions/myclass.php";
require_once "fs_folders/php_functions/Database/Invited.php";
$database = new Database();
$invited1 = new \Invitation\Invited();
$database->connect();
$invited1->_setInvitedTotals($database);
echo "<div style='display:none' >";
$mc = new myclass();
$pa = new postarticle();
$sc = new scrape();
$lookbook = new lookbook();
$mc->header_attribute();
$mc->auto_detect_path();
$mno = 968;
$plno = 509;
$plcno = 14;
$mppno = 111;
$mptno = 1;
$comment = 'this is the test comment';
$mno = 135;
$mno1 = 134;
$limit_start = 0;
$limit_end = 2;
$message = 'this is the message';
$msgno = 2;
$generated_code = '9.9851358453055E+22';
Exemplo n.º 2
0
require '../../../fs_folders/php_functions/Class/Article.php';
require '../../../fs_folders/php_functions/Class/Look.php';
//Facebook Config
require '../../../fs_folders/API/facebook-php-sdk-master/src/facebook.php';
$config = array('appId' => '528594163842974', 'secret' => 'a411c8a3c4361556491b2c2ddf38bf21');
$facebook = new Facebook($config);
$user_id = $facebook->getUser();
use App\Article;
$database = new Database();
$invited1 = new \Invitation\Invited();
$database->connect();
$mc = new myclass();
$pa = new postarticle();
$ri = new resizeImage();
$sc = new scrape();
$lookbook = new lookbook();
$article1 = new Article($db, $mc->mno);
$look1 = new Look($mc->mno, $db);
LookbookDatabase::$database = $db;
// initialized
$_SESSION['mno'] = $mc->get_cookie('mno', 136);
$mno = $mc->get_cookie('mno', 136);
$mno2 = 134;
// owner of the modal
$action = !empty($_GET['action']) ? $_GET['action'] : null;
$process = !empty($_GET['process']) ? $_GET['process'] : null;
$step = !empty($_GET['step']) ? $_GET['step'] : null;
$type = !empty($_GET['type']) ? $_GET['type'] : null;
$stat = !empty($_GET['stat']) ? $_GET['stat'] : null;
$table_name = !empty($_GET['table_name']) ? $_GET['table_name'] : 'postedlooks';
$table_id = !empty($_GET['table_id']) ? $_GET['table_id'] : 0;