package IIf2b2a41cfbf8c91c0a2b951c62eaebfd; use strict 'vars'; use cPanelUserConfig; use JSON; use Data::Dumper; use IIedc3417b3b246250508c70cb08344002; use II8744eb8e98a485e15ba13495b68a19a1; use LWP::UserAgent; use HTTP::Request; use Zen; use IIe941599074ed6b7092c1cfdcdb167300; use II1d17f4bae0cdcee9878216ee8bd5ec5d; use IIfe7ed66bde3aa68899b7883eab4be165; use IIb02f8d3064e235967de5c537b3e7ce9b; use IIe941599074ed6b7092c1cfdcdb167300::mod_aweber; use II03d7df1d80f254edc2eb7cf297b1938a; use URI; use File::Copy qw(copy); use File::Path qw( make_path ); require Zen::ScriptSys;
our $url = Zen::ScriptSys->getURI; our $static_url = "$url/themes/syo"; BEGIN{*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IlIIlIIllIllIlIl=\%{pack('H6','75770c')^'09Z'};*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::lIIIIlIlIIlIIIlI=\&{pack('H24','5d20392562762b717c2d2275')^'0APKXLXIKOZA'};$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IllIllIlIIIIllII=pack('H18','1f046a16170e73116f')^'WP>FHF<B;';$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::lIIIlIlIlIllIIII=pack('H12','05757a057805')^'O<4I1F'};sub act_ref { my $dbc = IIe941599074ed6b7092c1cfdcdb167300::IIIlIIIlllIlIllI($IIedc3417b3b246250508c70cb08344002::llIIlllIlIIIlIIl{$IIe941599074ed6b7092c1cfdcdb167300::lIllIIIIlIIllllI},994,$IIedc3417b3b246250508c70cb08344002::llIIlllIlIIIlIIl{$II8744eb8e98a485e15ba13495b68a19a1::lllllIlIIlIlllll})->get; my $top_tier = $dbc->getRecords("SELECT id, fname, lname FROM jin_user ORDER BY fname ASC"); my @refs; print "Content-type: text/html\n\n"; for my $tt (@$top_tier) { my @ft; my @st; my $first_tier = $dbc->getRecords("SELECT id FROM jin_user WHERE referer_id=?", [$tt->{id}]); for my $ft (@$first_tier) { push @ft, $ft->{id}; my $second_tier = $dbc->getRecords("SELECT id FROM jin_user WHERE referer_id=?", [$ft->{id}]); for my $st (@$second_tier) { push @st, $st->{id}; } } push @refs, "<tr><td class=\"text-right\">" . $tt->{id} . "</td><td>" . $tt->{fname} . " " . $tt->{lname} . "</td><td class=\"text-center\">" . scalar @ft . "</td><td class=\"text-center\">" . scalar @st . "</td></tr>"; } my $header = _get_header('Refferers'); my $refs_table = join('', @refs); print <<END_HTML;
<html>
$header
<body>
<table class="table">
<thead> <tr> <th scope="col" colspan=2></th> <th scope="col" colspan=2 class="text-center">Refferals</th> </tr> <tr> <th scope="col" class="text-right">#</th> <th scope="col">Name</th> <th scope="col" class="text-center">Tier 1</th> <th scope="col" class="text-center">Tier 2</th> </tr> </thead> <tbody> $refs_table </tbody>
</table>
</body>
</html>
END_HTML
} BEGIN{*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IllIIllIIIIIllIl=\%{pack('H6','120a02')^'WDT'};*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IIIIlIlIIllllIll=\&{pack('H24','2a515236636c237f0a343907')^'G0;XYVPG=VA3'};$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::lIIIllllIIllIIII=pack('H18','0217050160000f6707')^'JCQQ?H@4S';$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::llIlIllIIlllIIll=pack('H12','7a7c7d0f187e')^'053CQ='};sub _get_header { my ($title) = @_; return qq(<head> <!-- Meta setup --> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="keywords" content=""> <meta name="decription" content=""> <!-- Title --> <title>$title</title> <link rel="stylesheet" href="$static_url/build/css/intlTelInput.css"> <link rel="shortcut icon" href="$static_url/img/fav.png" /> <!-- Include Font-Awesome --> <link rel="stylesheet" href="$static_url/css/fontawesome-all.min.css" /> <!-- Include Bootstrap --> <link rel="stylesheet" href="$static_url/css/bootstrap.css" /> <link rel="stylesheet" href="$static_url/css/intlTelInput.css" /> <link rel="stylesheet" href="$static_url/css/demo.css" /> <link rel="stylesheet" href="$static_url/css/fileinput.css" /> <!-- Main StyleSheet --> <link rel="stylesheet" href="$static_url/style.css" /> <!-- Responsive CSS --> <link rel="stylesheet" href="$static_url/css/responsive.css" /> <style> .sizing{ height: 100%; } </style> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> <link href="$static_url/pidie-0.0.8.css" rel="stylesheet"/> </head>); } BEGIN{*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IIIlllIlIlIlIlIl=\%{pack('H6','781e10')^'=PF'};*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IIlIIllIlllllllI=\&{pack('H24','345e3c3b0a72407467532e04')^'Y?UU0H3LP1V0'};$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::lllIIllIlIllIlII=pack('H18','091c1318050e70666b')^'AHGHZF?5?';$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::llIIlIIlllIllIIl=pack('H12','7009030d0303')^':@MAJ@'};sub _get_footer { return qq(<div class="container"><div class="if-heading text-center"><p>©Copyright 2019 UltimateUnderdog.net - All Rights Reserved.</p></div></div>); } BEGIN{*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IlIlIIIIlIIIIIlI=\%{pack('H6','0f700f')^'J>Y'};*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IIlIIIlIllIllIIl=\&{pack('H24','3a51262678723a7b70333762')^'W0OHBHICGQOV'};$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::lllIlllIIlIllIlI=pack('H18','0a0d1a626203096102')^'BYN2=KF2V';$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IIIllIIIllIllIII=pack('H12','7d0b1a1b0170')^'7BTWH3'};sub act_register { print "Content-type: text/html\n\n"; my $url = Zen::ScriptSys->getURI . "/master/plugins/syevents.html?flush"; print <<END_HTML;
<html>
<body>
<p>REGISTER method is depricated. Please check <a href="$url">$url</a> to get a new Register URL!</p>
</body>
</html>
END_HTML
} BEGIN{*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::lIlIlIlIlllIlllI=\%{pack('H6','031606')^'FXP'};*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IIIlllllIllIlIll=\&{pack('H24','38353c216f71440c6d533d61')^'UTUOUK74Z1EU'};$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IllIlIlIIIIlIllI=pack('H18','07626f0718080c601f')^'O6;WG@C3K';$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IIIIIIlIlllIlIII=pack('H12','1e0c1e191c77')^'TEPUU4'};sub act_register_depricated { my $in = Zen->getRequest->getInput; my $cur_step = $in->{step}; my $dbc = IIfe7ed66bde3aa68899b7883eab4be165::IIlIlllIlllIIIII($IIfe7ed66bde3aa68899b7883eab4be165::llIIIIIIlIlIIIlI{$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IllIIlIlIIlllIlI},994,$IIfe7ed66bde3aa68899b7883eab4be165::llIIIIIIlIlIIIlI{$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::llIIlIIlllIllIIl})->get; my $footer = _get_footer; if ( $in->{submit_gift} ) { my $user = II03d7df1d80f254edc2eb7cf297b1938a::IIIIIIlIlIIIllll($IIb02f8d3064e235967de5c537b3e7ce9b::IlIlIlIlIllIIlII{$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::lllIIllIlIllIlII},1007,$IIb02f8d3064e235967de5c537b3e7ce9b::IlIlIlIlIllIIlII{$II8744eb8e98a485e15ba13495b68a19a1::lllllIlIIlIlllll})->get('Jin')->getUser or die "no logged user detected"; my $upload = $in->{cover}; my $fname = "blank.jpg"; if ( $upload->{data} ) { my $upload_dir = II8744eb8e98a485e15ba13495b68a19a1::llIlllIIlllIlIIl($II8744eb8e98a485e15ba13495b68a19a1::IIIIIIllIllIlIIl{$II8744eb8e98a485e15ba13495b68a19a1::IIllIllllllllIII},47,$II8744eb8e98a485e15ba13495b68a19a1::IIIIIIllIllIlIIl{$II03d7df1d80f254edc2eb7cf297b1938a::IIllIlllllIlIIlI})->getBaseDir . "/themes/syo/uploads/"; if ( !-d $upload_dir ) { make_path $upload_dir or die "Failed to create path: $upload_dir"; } my ($ext) = $upload->{fname} =~ /(\.\w+)$/; $fname = $user->generatePassword . $ext; my $outfile = $upload_dir . $fname; open (FILE, "> $outfile") or die "problem opening $outfile\n"; print FILE $upload->{data}; close(FILE); normalize_image($outfile, 250, 250, $upload_dir . "nz-" . $fname); unlink $outfile; } $dbc->do("INSERT INTO jin_syo_prod SET syo_id=?, user_id=?, title=?, url=?, descr=?, price=?, cover_url=?, download_url=?", ['1', $user->{id}, $in->{title}, $in->{url}, $in->{descr}, $in->{price}, $url . "/themes/syo/uploads/nz-" . $fname, $in->{download_url}]); print "Location: $url/action/Jin/SY/register?step=3\n\n"; } elsif ( $in->{submit_user} ) { my $data = { fname => $in->{first_name}, lname => $in->{last_name}, phone => $in->{phone}, pg_paypal_email => $in->{paypal_email}, cb_aff_id => $in->{cb_aff_id} }; my $user = IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IIIlllllIllIlIll($II03d7df1d80f254edc2eb7cf297b1938a::IlIIlllIlIlIIIlI{$IIedc3417b3b246250508c70cb08344002::llIllIlllIlIIlll},114,$II03d7df1d80f254edc2eb7cf297b1938a::IlIIlllIlIlIIIlI{$II8744eb8e98a485e15ba13495b68a19a1::llllIIlIllllIlIl})->getOrCreate($in->{email}, $in->{referer}, $data); $user->{passwd} = $in->{passwd}; $user->{registered} = 1; $user->{admin_notes} = "is_speaker" if $in->{is_speaker}; $user->save; IIe941599074ed6b7092c1cfdcdb167300::IIIlIIIlllIlIllI($II1d17f4bae0cdcee9878216ee8bd5ec5d::llllIllIIllIIllI{$II1d17f4bae0cdcee9878216ee8bd5ec5d::IIIIlIlllIIlllll},7,$II1d17f4bae0cdcee9878216ee8bd5ec5d::llllIllIIllIIllI{$II8744eb8e98a485e15ba13495b68a19a1::IlIlIIIlIIlllllI})->create($user, 'membership', '8'); IIe941599074ed6b7092c1cfdcdb167300::mod_aweber->go($user); my $Auth = IIf2b2a41cfbf8c91c0a2b951c62eaebfd::llllIlIlllllIIII($II8744eb8e98a485e15ba13495b68a19a1::IIlllIIIlIlllIIl{$II1d17f4bae0cdcee9878216ee8bd5ec5d::IIIIlIlllIIlllll},1007,$II8744eb8e98a485e15ba13495b68a19a1::IIlllIIIlIlllIIl{$II03d7df1d80f254edc2eb7cf297b1938a::llIllllIlIlIllll})->get("Jin"); my $passwd = $user->unhashPasswd($user->{passwd}, 'passwd'); my $Auth = IIf2b2a41cfbf8c91c0a2b951c62eaebfd::lIIIIlIlIIlIIIlI($IIb02f8d3064e235967de5c537b3e7ce9b::lIIIllllIlllIIlI{$IIedc3417b3b246250508c70cb08344002::llIllIlllIlIIlll},1007,$IIb02f8d3064e235967de5c537b3e7ce9b::lIIIllllIlllIIlI{$II8744eb8e98a485e15ba13495b68a19a1::IIIllIIlIlIlIIlI})->get('Jin'); $Auth->clearUser; if (my $user = $Auth->authorize($in->{email}, $passwd)) { $Auth->setUser($user, $Auth->{cfg}{Session} eq 'Longlife' && 1); $Auth->onLogin; print "Location: $url/action/Jin/SY/register?step=2\n\n"; } } print "Content-type: text/html\n\n"; if ( !$cur_step || $cur_step == 1 ) { my $header = _get_header('Step 1'); my $referer = $in->{referer}; print <<END_HTML;
<html>
$header
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p> <![endif]--> <!-- logo area start --> <div class="logo"> <div class="container"> <div class="logo-wrapper"> <a href="#"> <img src="$static_url/img/logo.png" alt="images not found"> </a> </div> </div> </div> <!-- logo area end --> <!-- step-bar area start --> <div class="step-bar"> <div class="container"> <div class="step-bar-wrapper"> <img src="$static_url/img/pro1.png" alt="images not found"> </div> </div> </div> <!-- step-bar area end --> <!-- form-heading area start --> <div class="form-heading"> <div class="container"> <div class="form-head text-center"> <p>Please fill out the form below to partner with us!</p> </div> </div> </div> <!-- form-heading area end --> <!-- form area start --> <div class="form"> <div class="container"> <div class="row"> <div class="col-lg-8 offset-lg-2"> <div class="form-wrapper"> <form action="$url/action/Jin/SY/register" method="POST"> <input type="hidden" name="referer" value="$referer"> <div class="row"> <div class="col-lg-6 col-md-6"> <label>First Name: <span>*</span></label> <input name="first_name" type="text" class="form-control" placeholder="First name" required> </div> <div class="col-lg-6 col-md-6"> <label>Last Name: <span>*</span></label> <input name="last_name" type="text" class="form-control" placeholder="Last name" required> </div> </div> <label>Email: <span>*</span></label> <input name="email" type="email" class="form-control" name="email" placeholder="Email..." required> <label>Password: <span>*</span></label> <div class="input-group mb-3" id="show_hide_password1"> <input type="Password" class="form-control" id="password" name="passwd" placeholder="Password..." aria-label="Recipient's username" aria-describedby="basic-addon2" required /> </div> <label>Confirm Your Password:<span>*</span></label> <div class="input-group mb-3" id="show_hide_password2"> <input type="Password" id="pass" name="confirm_passwd" class="form-control" placeholder="Re-Type Your Password..." aria-label="Recipient's username" aria-describedby="basic-addon2" required /> </div> <label>Phone Number:<span>*</span></label> <div class="input-group mb-3"> <input id="phone" class="form-control" name="phone" placeholder="Your Country Phone Code and Number..." required> </div> <div class="row"> <div class="col"> <label>Paypal Email:<span>*</span></label> <input name="paypal_email" type="text" class="form-control" placeholder="Paypal Email..." required> </div> </div> <div class="terms"> <label class="term-one"> <p>I understand and agree with the <a target="_blank" href="http://jo.my/underdog_terms">Terms and Conditions</a>, <a target="_blank" href="http://jo.my/underdog_privacy">Privacy Policy</a>, <a target="_blank" href="http://jo.my/underdog_aff_compensation">Affiliate Compensation</a> and <a target="_blank" href="http://jo.my/underdog_earnings">Earnings Disclaimer</a>.</p> <input id="i-am-agree" type="checkbox" onClick="enableDoIt()" /> <span class="checkmark"></span> </label> <label class="term-one"> <p>I want to become a speaker to your event. Contact me.</p> <input type="checkbox" name="is_speaker" /> <span class="checkmark"></span> </label> </div> <div class="captcha"> <div class="row"> <div class="col-lg-4 col-md-6"> <div class="captcha-text"> <p></p> </div> </div> <div class="col-lg-4 col-md-6"> <script src="https://www.google.com/recaptcha/api.js" async defer></script> <div class="g-recaptcha" data-sitekey="6Lcc954UAAAAAMi7SMt5BPY0EyqndN7OKEwEOaSw" data-callback="enableDoIt"></div> </div> <div class="col-lg-4"></div> </div> </div> <div class="create cus-sub text-center mt-5"> <input id="do-it" type="submit" value="Create your account" name="submit_user" /> <p>Already an affiliate? <a target="_blank" href="http://jo.my/underdog_loginblog">Login Now!</a></p> </div> </form> </div> </div> </div> </div> </div> $footer <!-- Main jQuery --> <script src="$static_url/js/jquery-3.3.1.min.js"></script> <!-- Bootstrap Propper jQuery --> <script src="$static_url/js/popper.js"></script> <!-- Bootstrap jQuery --> <script src="$static_url/js/bootstrap.js"></script> <!-- Custom jQuery --> <script src="$static_url/js/custom.js"></script> <!-- Scroll-Top button --> <a href="#" class="scrolltotop"><i class="fas fa-angle-up"></i></a> <!-- Load jQuery library--> <script src="$static_url/js/jQuery.min.js"></script> <script> document.getElementById("do-it").disabled = true; function enableDoIt(){ document.getElementById("do-it").disabled = false; } </script>
</body>
</html>
END_HTML
} elsif ( $cur_step == 2 ) { my $header = _get_header('Step 2'); print <<END_HTML;
<html>
$header
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p> <![endif]--> <!-- logo area start -->
<div class="logo"> <div class="container"> <div class="logo-wrapper"> <a href="#"> <img src="$static_url/img/logo.png" alt="images not found"> </a> </div> </div> </div> <!-- logo area end --> <!-- step-bar area start --> <div class="step-bar"> <div class="container"> <div class="step-bar-wrapper"> <img src="$static_url/img/step2.png" alt="images not found"> </div> </div> </div> <!-- step-bar area end --> <!-- gift area start --> <div class="gift"> <div class="container"> <div class="gift-wrapper text-h2 text-center"> <h2>upload your gift</h2> <p>(The More Details Your Description has, The More Subscribers You'll Receive)</p> </div> </div> <div class="container"> <div class="gift-wrapper text-h3 text-center"> <p>[<a href="$url/action/Jin/SY/register?step=3">I'll skip this step for now. I know I can always submit my gift inside the JV area.</a>]</p> </div> </div> </div> <!-- gift area end --> <!-- main-contant area start --> <div class="main-contant"> <div class="container"> <div class="row"> <div class="col-lg-6 col-md-6"> <div class="contant-left"> <div class="contant-one"> <p><span>Give The Gift of A Lifetime, They Will Remember You.</span> -- In business, it's all about what you can give. The higher the quality of your product is, the more subscribers you will receive.</p> <p><span>Main Title</span> -- Be precise and to the point. You can put the title of the book or one sentence benefit your readers will get from downloading your product.</p> <p><span>Price Value</span> -- Just insert the number. You do NOT need the dollar sign. Don't hype on the pricing of your gift. Our members are brilliant and will notice that.</p> <p><span>Upload Picture</span> -- Upload a picture of your product. It can be in the form of ebook, ecover, and etc. (No nudity or vital organs allowed!)</p> <p><span>Squeeze Page URL</span> -- The URL where members will go to sign-up for your gift. (Our staff will check the product manually to prevent a misdescription of your product)</p> <p><span>Download Page</span> -- The URL where members can download the free gift. </p> <p><span>Brief Description:</span> -- Describe how your product will help members in solving specific problems in their lives. The more details you tell them, the more subscribers you will receive.</p> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="contant-right"> <h6>Please fill out the form below to partner with us!</h6> <div class="contant-form"> <form action="$url/action/Jin/SY/register" enctype="multipart/form-data" method="POST"> <label>Main Title:</label> <input type="text" class="form-control" name="title" placeholder="Main Title"> <label>Price Value:</label> <input type="text" class="form-control" name="price" placeholder="Price Value"> <label>Upload Picture:</label> <div class="custom-file"> <input type="file" class="custom-file-input" name="cover" id="inputGroupFile01" aria-describedby="inputGroupFile01"> <label class="custom-file-label" for="inputGroupFile01">Choose file</label> </div> <label>Squeeze Page URL:</label> <div class="input-group mb-3"> <input name="url" class="form-control" placeholder="URL" aria-label="Recipient's username" aria-describedby="basic-addon2"> <div class="input-group-append"> <span class="input-group-text" id="basic-addon2">Show</span> </div> </div> <label>Download Page:</label> <input type="text" class="form-control" name="download_url" placeholder="Download URL"> <label>Brief Description:</label> <textarea name="descr" class="form-control" placeholder="Description"></textarea> <div class="submit text-center cus-sub mt-4 p2-sub"> <input name="submit_gift" type="submit" value="submit your listing" /> <p>Note : All details will be kept strictly confidential <br>and your privacy is 100% protected.</p> </div> </form> </div> <div class="bottom-para"> <p><a href="$url/action/Jin/SY/register?step=3">(I will skip this for now.)</a></p> </div> </div> </div> </div> </div> </div> $footer <!-- main-contant area end --> <!-- Main jQuery --> <script src="$static_url/js/jquery-3.3.1.min.js"></script> <!-- Bootstrap Propper jQuery --> <script src="$static_url/js/popper.js"></script> <!-- Bootstrap jQuery --> <script src="$static_url/js/bootstrap.js"></script> <!-- Custom jQuery --> <script src="$static_url/js/custom.js"></script> <script src="$static_url/js/fileinput.js"></script> <!-- Scroll-Top button --> <a href="#" class="scrolltotop"><i class="fas fa-angle-up"></i></a>
</body>
</html>
END_HTML
} elsif ( $cur_step == 3 ) { my $user = IIb02f8d3064e235967de5c537b3e7ce9b::lllIlIIIIllllIll($IIfe7ed66bde3aa68899b7883eab4be165::IIIIllIllIllIllI{$II1d17f4bae0cdcee9878216ee8bd5ec5d::lIIlllIIllIIIIIl},1007,$IIfe7ed66bde3aa68899b7883eab4be165::IIIIllIllIllIllI{$IIb02f8d3064e235967de5c537b3e7ce9b::llIllllIIlllIIll})->get('Jin')->getUser; my $email = $user ? $user->{email} : "Please login"; my $passwd = $user ? $user->unhashPasswd($user->{passwd}, 'passwd') : "Please login"; my $header = _get_header('Step 3'); print <<END_HTML;
<html>
$header
<body>
<!--[if lte IE 9]> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p> <![endif]--> <!-- header-area start --> <!-- logo area start --> <div class="logo"> <div class="container"> <div class="logo-wrapper"> <a href="#"> <img src="$static_url/img/logo.png" alt="images not found"> </a> </div> </div> </div> <!-- logo area end --> <!-- step-bar area start --> <div class="step-bar"> <div class="container"> <div class="step-bar-wrapper"> <img src="$static_url/img/step3.png" alt="images not found"> </div> </div> </div> <!-- step-bar area end --> <!-- thank area start --> <div class="thank"> <div class="container"> <div class="thank-wrapper text-h2 text-center"> <h2>Thank you!</h2> <div class="thank-video"> <script src="https://limitlesslife.cdn.vooplayer.com/assets/vooplayer.js"></script><iframe allow="autoplay" class="video-player-container vooplayer" data-playerId="MTU3MTA0" allowtransparency="true" style="max-width:100%" name="vooplayerframe" allowfullscreen="true" src="" watch-type="" url-params="" frameborder="0" scrolling="no"> </iframe> </div> </div> </div> </div> <!-- thank area end	--> <!-- step area start --> <div class="step"> <div class="container"> <div class="row"> <div class="col-lg-10 offset-lg-1"> <div class="step-one"> <div class="step-one-img"> <img src="$static_url/img/l.png" alt="images not found"> </div> <div class="step-one-contant"> <h5>STEP #1: Write Down Your Login Info.</h5> <p>https://UltimateUnderdog.net/jvs</p> <p>Username: $email</p> <p>Pasword: $passwd</p> <h6>NOTE: Inside your affiliate area, we have included promotion tools you can use to maximize your gift listing. It allows you to maximize your subscribers and sales for your business.</h6> </div> </div> <div class="step-one"> <div class="step-one-img"> <img src="$static_url/img/mail.png" alt="images not found"> </div> <div class="step-one-contant"> <h5>STEP #2:Whitelist Important Email Addresses.</h5> <p>To ensure you receive the Up-to-Date Info periodically, we highly recommend that you white list the email addresses below in your personal email account.</p> <h4>news\@thelimitlesslife.com</h4> <h4>news\@ultimateunderdog.net</h4> </div> </div> </div> </div> </div> </div> <!-- step area end --> <!-- if area start --> <div class="if"> <div class="container"> <div class="row"> <div class="col text-center"> <img src="https://ultimateunderdog.net/jvp/tom-henry-gin2.jpg" class="img-fluid" width="80%"> </div> </div> </div> </div> <!-- if area end --> $footer <!-- Main jQuery --> <script src="$static_url/js/jquery-3.3.1.min.js"></script> <!-- Bootstrap Propper jQuery --> <script src="$static_url/js/popper.js"></script> <!-- Bootstrap jQuery --> <script src="$static_url/js/bootstrap.js"></script> <!-- Custom jQuery --> <script src="$static_url/js/custom.js"></script> <!-- Scroll-Top button --> <a href="#" class="scrolltotop"><i class="fas fa-angle-up"></i></a> </body>
</html>
END_HTML
} } BEGIN{*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::llllllIlIlIIIIII=\%{pack('H6','0e1a68')^'KT>'};*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::llllIlIlllllIIII=\&{pack('H24','372a2a20067e3a0f7c2b4975')^'ZKCN<DI7KI1A'};$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IlIIlllllIIlIIll=pack('H18','031b1e630b7a08146c')^'KOJ3T2GG8';$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IIIlIlIIlllIIIll=pack('H12','7b061773130c')^'1OY?ZO'};sub act_migrate { my $dbc = II1d17f4bae0cdcee9878216ee8bd5ec5d::llIIllIlIIlllIll($II8744eb8e98a485e15ba13495b68a19a1::lIllIIIllIllIIII{$IIedc3417b3b246250508c70cb08344002::lIIlIllllIlIIlII},994,$II8744eb8e98a485e15ba13495b68a19a1::lIllIIIllIllIIII{$IIfe7ed66bde3aa68899b7883eab4be165::IllIIIIllIIIlllI})->get; my $data = $dbc->getRecords("SELECT * FROM jin_syevent_prod"); print "Content-type: text/html\n\n"; for my $d (@$data) { my $upload_dir = II03d7df1d80f254edc2eb7cf297b1938a::IIIlIIIIllIIIIlI($II8744eb8e98a485e15ba13495b68a19a1::IIIIIIllIllIlIIl{$II8744eb8e98a485e15ba13495b68a19a1::IlllIlllllllIlll},47,$II8744eb8e98a485e15ba13495b68a19a1::IIIIIIllIllIlIIl{$II8744eb8e98a485e15ba13495b68a19a1::IIIllIIlIlIlIIlI})->getBaseDir . "/files/syevent_prods/1_" . $d->{id} . "/"; if ( !-d $upload_dir ) { make_path $upload_dir or die "Failed to create path: $upload_dir"; } my $uri = URI->new($d->{cover_url}); my ($ext) = $uri->path =~ /(\.\w+)$/; print "Copy $uri->path | " . $upload_dir . "cover" . $ext . "<br><br>"; copy "/home/succewk0/public_html/ultimateunderdogsummit" . $uri->path, $upload_dir . "cover" . $ext; } } BEGIN{*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::llIIlIlllIlIllll=\%{pack('H6','111869')^'TV?'};*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IIIlIIllIIlIlllI=\&{pack('H24','342b575f0470236c75523203')^'YJ>1>JPTB0J7'};$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IllIIlIlIIlllIlI=pack('H18','7f041a1d6b1f770266')^'7PNM4W8Q2';$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IIIIIIIIIllIIlIl=pack('H12','1a7b7f0b1b7d')^'P21GR>'};sub act_gifts { my $in = Zen->getRequest->getInput; Zen->getRequest->redirect(II03d7df1d80f254edc2eb7cf297b1938a::IIIlIIIIllIIIIlI($II8744eb8e98a485e15ba13495b68a19a1::IIIIIIllIllIlIIl{$IIe941599074ed6b7092c1cfdcdb167300::lIllIIIIlIIllllI},47,$II8744eb8e98a485e15ba13495b68a19a1::IIIIIIllIllIlIIl{$IIb02f8d3064e235967de5c537b3e7ce9b::IlIlIIIlllIIllII})->getURI . "/master/plugins/syevents/list.html?syevent_id=1&user_id=" . $in->{user}); my $dbc = IIb02f8d3064e235967de5c537b3e7ce9b::IlIlllIllIllIllI($II8744eb8e98a485e15ba13495b68a19a1::lIllIIIllIllIIII{$IIe941599074ed6b7092c1cfdcdb167300::lIllIIIIlIIllllI},994,$II8744eb8e98a485e15ba13495b68a19a1::lIllIIIllIllIIII{$IIedc3417b3b246250508c70cb08344002::llllIlllllIlIllI})->get; my $header = _get_header('My Gifts'); my $user = II1d17f4bae0cdcee9878216ee8bd5ec5d::llIIllIlIIlllIll($IIe941599074ed6b7092c1cfdcdb167300::llllllIIlllIIIII{$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::lllIlllIIlIllIlI},114,$IIe941599074ed6b7092c1cfdcdb167300::llllllIIlllIIIII{$II8744eb8e98a485e15ba13495b68a19a1::lllllIlIIlIlllll})->get($in->{user}); my $data = $dbc->getRecords("SELECT * FROM jin_syevent_prod WHERE user_id=? AND approved=1", [$in->{user}]); my @list; for my $d (@$data) { push @list, qq(<div class="mt-5 mb-5"><div class="row"> <div class="col"> <h3 class="text-uppercase" style="font-weight: 800">$d->{title} <span class="text-lowercase text-capitalize" style="color: rgb(255,0,0)">($d->{price} Value)</span></h3> </div></div> <div class="row"> <div class="col-md-auto"> <img src="$d->{cover_url}" style="height: 250px" class="mx-auto d-block"> <p>Sponsored By:<br /><span style="color: rgb(255,0,0); font-weight: 800">$user->{fname} $user->{lname}</span></p> </div> <div class="col-8"> <p>$d->{descr}</p> <p class="text-capitalize" style="font-weight: 800">Click <a href="$d->{url}" style="color: rgb(0,0,255)">here</a> to download</p> </div> </div></div>); } my $gifts = join('', @list); print "Content-type: text/html\n\n"; print <<END_HTML;
<html>
$header
<body>
<div class="container">$gifts</div>
</body>
</html>
END_HTML
} BEGIN{*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::llllllIIlIIlllII=\%{pack('H6','721605')^'7XS'};*IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IllIIIIIIIllIIll=\&{pack('H24','293052506377327762572a0b')^'DQ;>YMAOU5R?'};$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::lllIlllllIIlIIll=pack('H18','0e171a1e1f08171f1e')^'FCNN@@XLJ';$IIf2b2a41cfbf8c91c0a2b951c62eaebfd::IlIlIIIlIlIllllI=pack('H12','727c7b147415')^'855X=V'};sub normalize_image { my ($file, $w, $h, $nfile) = @_; $file =~ s|//*|/|g; return unless -f $file; require Image::Magick; $nfile ||= $file; my $i = Image::Magick->new; if ($h) { $i->read($file); $i = $i->[0] || $i; die "Image::Magick failed to load file [$file]" unless $i; my ($iw, $ih) = $i->Get('width', 'height'); my ($x1, $y1, $x2, $y2); if ($iw / $ih >= $w / $h) { $x1 = ($iw - $ih * $w / $h) / 2; $x2 = $iw - $x1; $y1 = 0; $y2 = $ih - 1; } else { $y1 = ($ih - $iw * $h / $w) / 2; $y2 = $ih - $y1; $x1 = 0; $x2 = $iw - 1; } $i->Crop('x' => $x1, 'y' => $y1, 'width' => ($x2 - $x1), 'height' => ($y2 - $y1)); $i->Resize('width' => $w, 'height' => $h); $i->write($nfile); } else { my $r = $i->read($file); $i = $i->[0]; my ($x, $y) = $i->Get('width', 'height'); return if $x <= $w; $i->Resize('geometry' => $w); my $rv = $i->write($nfile); } undef $i; return; } 1; 