public function __construct() { global $fb, $app; $this->user = array(); $this->img = array(); if (adminOrder('app_mode', 'default') == 'on') { save_image('https://graph.facebook.com/' . $fb->username . '/picture?width=165&height=165', '__photos/__downloaded/' . $fb->username . '.jpg'); $this->user['name'] = $fb->name; $this->user['username'] = $fb->username; $this->user['gender'] = $fb->gender; $this->user['email'] = '*****@*****.**'; // Saving email is against facebook policy $this->user['photo'] = '__photos/__downloaded/' . $fb->username . '.jpg'; $this->img['font'] = '__stylesheet/__fonts/' . $app['fontName']; $this->img['size'] = $app['fontSize']; $this->img['final'] = '__photos/__tmp/' . $this->user['username'] . '.jpg'; } else { $this->user['name'] = 'samundra kc '; $this->user['username'] = '******'; $this->user['gender'] = 'male'; $this->user['email'] = '*****@*****.**'; $this->user['photo'] = '__photos/__downloaded/fadkit.jpg'; $this->img['font'] = '__stylesheet/__fonts/' . adminOrder('fontName', 'config'); $this->img['size'] = adminOrder('fontSize', 'config'); $this->img['final'] = '__photos/__tmp/fadkit.jpg'; } }
function content_54a1648c69f772_63877567($_smarty_tpl) { if (!is_callable('smarty_function_add')) { include 'C:\\xampp\\htdocs\\FADkit\\libs\\plugins\\function.add.php'; } ?> <div id="sw_windowBox"></div> <div id="fb-root"></div> <div class="row"> <div class="col-md-12"> <div id="head" > <div class="appName"> <?php if (adminOrder('color', 'default') == "none") { ?> <?php } else { ?> <?php echo adminOrder('app_name', 'info'); ?> <?php } ?> </div> <!--<div class="appLogo"></div>--> </div></div> </div> <nav class="navbar navbar-default" role="navigation"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example-navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">Options</a> </div> <div class="collapse navbar-collapse" id="example-navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="#" class="finalButton" onclick="sendRequestViaMultiFriendSelector('<?php echo $_smarty_tpl->tpl_vars['app']->value['inviteMsg']; ?> ');"> <?php echo showImg('__stylesheet/__images/icons/mpp.png', 16, 16, 'center'); ?> Invite</a></li> <?php if (adminOrder('make_pp') == 'on') { ?> <li id="mpp"> <a href="#"><?php echo showImg('__stylesheet/__images/icons/mpp.png', 16, 16, 'center'); echo $_smarty_tpl->tpl_vars['lang']->value->index->mpp; ?> </a> </li> <?php } ?> <?php if (adminOrder('dw_photo') == 'on') { ?> <li id="dtp"> <a href="#"><?php echo showImg('__stylesheet/__images/icons/dowload.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->index->dtp; ?> </a> </li> <?php } ?> <?php if (adminOrder('send_mail') == 'on') { ?> <li id="etp"> <a href="#"><?php echo showImg('__stylesheet/__images/icons/email.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->index->etp; ?> </a> </li> <?php } ?> </ul></div></nav> <div class="row"> <div class="col-md-12"> <ul class="list-group "> <li class="list-group-item active"> <div class="row"> <div class="col-md-9"> <div class="appTitle"> <?php echo adminOrder('app_name', 'info'); ?> </div> </div> <div class="col-md-3"> </div></div> </li> <li class="list-group-item"> <?php echo $_smarty_tpl->getSubTemplate("default/__body/__layout/box2.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <li class="list-group-item"> <div class="btn-group"> <button class="btn btn-success" id="publishButton" onclick="publishButton();">Publish</button> <button class="btn btn-primary" id="reloadButton" onclick="reloadButton('<?php echo $_smarty_tpl->tpl_vars['img_link']->value; ?> ');">Reload</button> </div> </li> <?php if (adminOrder('ads_1') == "on") { ?> <li class="list-group-item" style="height:90px"> <!---YOUR ADS CODE OF 720X90 HERE---> <?php echo adminOrder('adsSlot', 'config'); ?> </li><?php } ?> </ul> </div> </div> <div id="content" style="display:none"> <?php if (adminOrder('popup') == "on") { ?> <?php echo smarty_function_add(array('tab' => "social.html"), $_smarty_tpl); ?> <?php } ?> <div id="popupFeature"> <ul class="list-group"> <li class="list-group-item active"> <div class="row"> <div class="col-md-10"><div class="statusMessage"></div></div> <div class="col-md-2"> <div class="head"> <div class="Xlose"><span onclick="popUpfeatures('hide')">X</span></div> </div></div></div></li> <li class="list-group-item"> <div class="row"><div class="body"> <div class="col-md-12"> <div class="progress progress-striped active"> <div id="goProgress2" class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"> <span class="sr-only">40% Complete</span> </div> </div></div> <div class="col-md-12"> <label for="name"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->index->loading; ?> </label>></div> </div> </div></li> </ul></div> </div> <?php if (adminOrder('animation') == "on") { ?> <script>onAnimationOn();</script> <?php } }
function content_54a168cd3b62f0_95093319($_smarty_tpl) { ?> <!DOCTYPE HTML> <html lang="<?php echo $_smarty_tpl->tpl_vars['lCode']->value; ?> "> <title>Admin Panel</title> <?php echo $_smarty_tpl->getSubTemplate("default/__body/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <body> <div > <div class="container" style="box-shadow:2px 2px 15px;"> <div class="row"> <div class="col-md-12" > <a href="admin"><div id="head"> <div class="appName"> <?php if (adminOrder('color', 'default') == "none") { ?> <?php } else { ?> <?php echo adminOrder('app_name', 'info'); ?> <?php } ?> </div> </div></a> </div> <div class="col-md-12"> <nav class="navbar navbar-default navbar-static-top" role="navigation"> <div class="navbar-header"> <a class="navbar-brand" href="admin">Home</a> </div> <div> <ul class="nav navbar-nav"> <li title="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->hints->title; ?> " data-container="body" data-toggle="popover" data-placement="bottom" data-content="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->license->msg; ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->license->warning; ?> " data-trigger="hover"> <a href="admin&tab=license"><?php echo showImg('__stylesheet/__images/icons/license.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->license->title; ?> </a></li> <li title="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->hints->title; ?> " data-container="body" data-toggle="popover" data-placement="bottom" data-content="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->app->msg; ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->app->warning; ?> " data-trigger="hover"> <a href="admin&tab=app"><?php echo showImg('__stylesheet/__images/icons/application.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->app->title; ?> </a></li> <li title="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->hints->title; ?> " data-container="body" data-toggle="popover" data-placement="bottom" data-content="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->social->msg; ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->social->warning; ?> " data-trigger="hover"> <a href="admin&tab=social"><?php echo showImg('__stylesheet/__images/icons/popup.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->social->title; ?> </a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <?php echo showImg('__stylesheet/__images/icons/more.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->settings->title; ?> <b class="caret"></b> </a> <ul class="dropdown-menu"> <li id="profile" title="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->hints->title; ?> " data-container="body" data-toggle="popover" data-placement="left" data-content="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->profile->msg; ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->profile->warning; ?> " data-trigger="hover"> <a href="admin&tab=photo-profile"><?php echo showImg('__stylesheet/__images/icons/user_go.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->profile->title; ?> </a> </li> <li class="divider"></li> <li id="generated" title="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->hints->title; ?> " data-container="body" data-toggle="popover" data-placement="left" data-content=" <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->generated->msg; ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->generated->warning; ?> " data-trigger="hover"> <a href="admin&tab=photo-generated"> <?php echo showImg('__stylesheet/__images/icons/photo.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->generated->title; ?> </a> </li> <li class="divider"></li> <li id="upload" title="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->hints->title; ?> " data-container="body" data-toggle="popover" data-placement="left" data-content="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->upload->msg; ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->upload->warning; ?> " data-trigger="hover"> <a href="admin&tab=photo-upload"> <?php echo showImg('__stylesheet/__images/icons/photos.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->upload->title; ?> </a> </li> <li class="divider"></li> <li id="appImages" title="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->hints->title; ?> " data-container="body" data-toggle="popover" data-placement="left" data-content="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->appImages->msg; ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->appImages->warning; ?> " data-trigger="hover"> <a href="admin&tab=app-images"> <?php echo showImg('__stylesheet/__images/icons/app-image.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->appImages->title; ?> </a> </li> <li class="divider"></li> <li id="appFonts" > <a href="admin&tab=app-fonts"> <?php echo showImg('__stylesheet/__images/icons/font.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->appFonts->title; ?> </a> </li> <li class="divider"></li> <li id="deleteTmp" title="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->hints->title; ?> " data-container="body" data-toggle="popover" data-placement="left" data-content="<?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->deleteTmp->msg; ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->deleteTmp->warning; ?> " data-trigger="hover"> <a href="admin&tab=delete-tmp"> <?php echo showImg('__stylesheet/__images/icons/delete.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->deleteTmp->title; ?> </a> </li> <li class="divider"></li> <li id="language" > <a href="admin&tab=language"> <?php echo showImg('__stylesheet/__images/icons/language.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->language; ?> </a> </li> <li class="divider"></li> <li id="app-type" > <a href="admin&tab=app-type"> <?php echo showImg('__stylesheet/__images/icons/invite.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->app_type; ?> </a> </li> </ul> <?php if ($_smarty_tpl->tpl_vars['admin']->value->user) { ?> <li> <a href="admin&tab=logout"> <?php echo showImg('__stylesheet/__images/icons/logout.png', 16, 16, 'center'); ?> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->info->logout->title; ?> </a></li> <?php } ?> </ul> </div> </nav> <div class="col-md-12" style="background-color:#e7e7e7;"> <?php if ($_smarty_tpl->tpl_vars['admin']->value->user) { ?> <?php echo $_smarty_tpl->getSubTemplate("admin/home.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } else { ?> <?php if ($_smarty_tpl->tpl_vars['admin']->value->step == 'login') { ?> <?php echo $_smarty_tpl->getSubTemplate("admin/login.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } ?> <?php } ?> </div> </div></div></div> <script>$(function () { $("[data-toggle='popover']").popover(); }); </script> </body> </html> <?php }
function content_54a16f3b862b58_03084782($_smarty_tpl) { if (!is_callable('smarty_function_exists')) { include 'C:\\xampp\\htdocs\\FADkit\\libs\\plugins\\function.exists.php'; } if (!is_callable('smarty_function_pathinfo')) { include 'C:\\xampp\\htdocs\\FADkit\\libs\\plugins\\function.pathinfo.php'; } ?> <script> function returnl(){ var x = window.top.location.pathname; var l = x.replace('admin',''); return l; } function gotoApp(){ var x = returnl(); return x; } </script> <?php if ($_smarty_tpl->tpl_vars['tab']->value) { ?> <?php if ($_smarty_tpl->tpl_vars['tab']->value == 'logout') { ?> <?php echo $_smarty_tpl->tpl_vars['admin']->value->inc_lude($_smarty_tpl->tpl_vars['tab']->value); ?> <?php } else { ?> <?php if ("templates/admin/include/" . (string) $_smarty_tpl->tpl_vars['tab']->value . ".html") { ?> <div style="display:none"><?php echo smarty_function_exists(array('file' => "templates/admin/include/" . (string) $_smarty_tpl->tpl_vars['tab']->value . ".html"), $_smarty_tpl); ?> </div> <?php echo $_smarty_tpl->getSubTemplate("templates/admin/include/" . (string) $_smarty_tpl->tpl_vars['tab']->value . ".html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } else { ?> <script> top.location = 'admin'; </script> <?php } ?> <?php } ?> <?php } else { ?> <div class="row"> <div class="col-md-10"><div class="caption lead" > <?php echo showImg('__stylesheet/__images/icons/admin.png', 16, 16, 'center'); echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->title; ?> </div></div> <div class="colmd-2"> <div class="caption lead" > <?php echo showImg('__stylesheet/__images/icons/goto.png', 16, 16, 'center'); ?> <script type="text/javascript"> document.write('<a href="'+gotoApp()+'" style="color:white;"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->app; ?> </a>'); </script> </div> </div> </div> <?php echo $_smarty_tpl->tpl_vars['admin']->value->editdefault(); ?> <ul class="list-group"> <form action="" method="post"> <li class="list-group-item"> <div class="info_focus"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->app_mode; ?> : <br/> <label class="checkbox-inline"> <input type="radio" id="optionsRadios4" name="app_mode" value="on" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->app_mode, 'on'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->online; ?> </label> <label class="checkbox-inline"> <input type="radio" name="app_mode" value="off" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->app_mode, 'off'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->offline; ?> </label> </div> </li> <li class="list-group-item"> <div class="info_focus"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->popup; ?> : <br/> <label class="checkbox-inline"> <input type="radio" id="optionsRadios4" name="popup" value="on" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->popup, 'on'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->show; ?> </label> <label class="checkbox-inline"> <input type="radio" name="popup" value="off" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->popup, 'off'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->hide; ?> </label> </div> </li> <li class="list-group-item"> <div class="info_focus"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->ads_1; ?> : <br/> <label class="checkbox-inline"> <input type="radio" name="ads_1" value="on" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->ads_1, 'on'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->show; ?> </label> <label class="checkbox-inline"> <input type="radio" name="ads_1" value="off" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->ads_1, 'off'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->hide; ?> </label> </div> </li> <li class="list-group-item"> <div class="info_focus"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->ads_2; ?> : <br/> <label class="checkbox-inline"> <input type="radio" name="ads_2" value="on" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->ads_2, 'on'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->show; ?> </label> <label class="checkbox-inline"> <input type="radio" name="ads_2" value="off" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->ads_2, 'off'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->hide; ?> </label> </div> </li> <li class="list-group-item"> <div class="info_focus"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->ads_3; ?> : <br/> <label class="checkbox-inline"> <input type="radio" name="ads_3" value="on" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->ads_3, 'on'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->show; ?> </label> <label class="checkbox-inline"> <input type="radio" name="ads_3" value="off" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->ads_3, 'off'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->hide; ?> </label> </div> </li> <li class="list-group-item"> <div class="info_focus"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->send_mail; ?> : <br/> <label class="checkbox-inline"> <input type="radio" name="send_mail" value="on" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->send_mail, 'on'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->allow; ?> </label> <label class="checkbox-inline"> <input type="radio" name="send_mail" value="off" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->send_mail, 'off'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->disallow; ?> </label> </div> </li> <li class="list-group-item"> <div class="info_focus"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->download_photo; ?> : <br/> <label class="checkbox-inline"> <input type="radio" name="dw_photo" value="on" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->dw_photo, 'on'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->allow; ?> </label> <label class="checkbox-inline"> <input type="radio" name="dw_photo" value="off" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->dw_photo, 'off'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->disallow; ?> </label> </div> </li> <li class="list-group-item"> <div class="info_focus"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->make_pp; ?> : <br/> <label class="checkbox-inline"> <input type="radio" name="make_pp" value="on" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->make_pp, 'on'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->allow; ?> </label> <label class="checkbox-inline"> <input type="radio" name="make_pp" value="off" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->make_pp, 'off'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->disallow; ?> </label> </div> </li> <li class="list-group-item"> <div class="info_focus"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->animation; ?> : <br/> <label class="checkbox-inline"> <input type="radio" name="animation" value="on" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->animation, 'on'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->allow; ?> </label> <label class="checkbox-inline"> <input type="radio" name="animation" value="off" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->animation, 'off'); ?> /><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->disallow; ?> </label> </div></li> <li class="list-group-item"> <div class="info_focus"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->copyright; ?> : <br/> <label class="checkbox-inline"> <input type="radio" name="copyright" value="on" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->copyright, 'on'); ?> onclick="$('#whileclosed2').show(1000);"/><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->show; ?> </label> <label class="checkbox-inline"> <input type="radio" name="copyright" value="off" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->copyright, 'off'); ?> onclick="$('#whileclosed2').hide(1000);"/><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->hide; ?> </label> </div> <div class="info_focus" id="whileclosed2" style="display:none;"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->copyright_msg; ?> :<br/> <textarea name="copyright_msg" class="form-control" rows="3"/><?php echo $_smarty_tpl->tpl_vars['admin']->value->json->copyright_msg; ?> </textarea></div> </li> <li class="list-group-item"> <div class="info_focus"><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->status; ?> : <br/> <label class="checkbox-inline"> <input type="radio" name="app" value="on"<?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->app, 'on'); ?> onclick="$('#whileclosed').hide(1000);"/><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->open; ?> </label> <label class="checkbox-inline"> <input type="radio" name="app" value="off" <?php echo doChecked($_smarty_tpl->tpl_vars['admin']->value->json->app, 'off'); ?> onclick="$('#whileclosed').show(1000);"/><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->close; ?> </label> <div class="info_focus" id="whileclosed" style="display:none;"> <?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->status_msg; ?> :<br/> <textarea name="closed_msg" class="form-control" rows="3"/><?php echo $_smarty_tpl->tpl_vars['admin']->value->json->closed_msg; ?> </textarea></div></div> </li> <li class="list-group-item"> <div class="info_focus"><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->language; ?> : <br/> <select name="languages" style="width:70px;height:20px;"> <option value="<?php echo $_smarty_tpl->tpl_vars['admin']->value->json->languages; ?> "><?php echo smarty_function_pathinfo(array('fname' => $_smarty_tpl->tpl_vars['admin']->value->json->languages, 'return' => "filename"), $_smarty_tpl); ?> </option> <?php echo $_smarty_tpl->tpl_vars['admin']->value->selectOption('__languages/lang/', 'xml'); ?> </select> </div></li> <input type="hidden" name="change_bg" value="<?php echo $_smarty_tpl->tpl_vars['admin']->value->json->change_bg; ?> " /> <input type="hidden" name="oldColor" value="<?php echo $_smarty_tpl->tpl_vars['admin']->value->json->color; ?> " id="oldColor"/> <input type="hidden" name="host" value="this" /> <script>document.write('<input type="hidden" name="server" value="'+window.top.location.protocol+'//'+window.top.location.hostname+returnl()+'"/>')</script> <li class="list-group-item"> <div class="info_focus"><?php echo $_smarty_tpl->tpl_vars['lang']->value->admin->page->homepage->color; ?> : <br/> <select id="selectColor" name="color" style="width:70px;height:20px;"> <option value="<?php echo $_smarty_tpl->tpl_vars['admin']->value->json->color; ?> "><?php echo smarty_function_pathinfo(array('fname' => $_smarty_tpl->tpl_vars['admin']->value->json->color, 'return' => "filename"), $_smarty_tpl); ?> </option> <option value="none">None</option> <script> showColor(); </script> </select> </div></li> <li class="list-group-item"> <div class="info_focus"> <input type="submit" name="submit" value="Update" class="btn btn-primary" style="width:100px;height:30px;"/></div></li> </form> </ul> <?php } ?> <div class="animation_ball"> </div> <?php if (adminOrder('animation') == "on") { ?> <script>onAnimationOn();</script> <?php } }
function content_54a16e33a3c636_82932171($_smarty_tpl) { ?> <style> .img-responsive { height:300px; } </style> <div class="box2" style="height:300px;overflow:hidden;"> <div id="imgFile" style="color:white;"><img id="dynamicImg" class="img-responsive" src="<?php echo $_smarty_tpl->tpl_vars['img_link']->value; ?> " width="720px" height="350px"/> </div> <?php if (adminOrder('ads_2') == "on") { ?> <div class="ads_2"> <div class="Xlose"><span onclick="$('.ads_2').fadeOut(1000);">X</span></div> <div class="adsIsHere"> <?php echo adminOrder('adsSlot_2', 'config'); ?> </div> </div> <?php } ?> <?php if (adminOrder('ads_3') == "on") { ?> <?php if (adminOrder('ads_2') == "off") { ?> <div class="ads_3" style="display:block"> <?php } else { ?> <div class="ads_3"> <?php } ?> <div class="Xlose"><span onclick="$('.ads_3').fadeOut(1000);">X</span></div> <div class="adsIsHere"> <?php echo adminOrder('adsSlot_3', 'config'); ?> </div> </div> <?php } ?> <div class="row"> <div class="col-md-12 loadingGif" style="display:none;"> <div class="progress progress-striped active"> <div id="goProgress" class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100" style="width:5%;"> <span class="sr-only">80% Complete</span> </div> </div><label for="name" class="col-md-12 col-md-push-4"><?php echo $_smarty_tpl->tpl_vars['lang']->value->index->p_wait; ?> <br/><span id="loadingTxt"><?php echo $_smarty_tpl->tpl_vars['lang']->value->index->wait; ?> </span></label> </div> </div> <div class="txtInput"> <div class="txtBg"> <div class ="txtTop"></div> <div class="txtLeft"></div> <div class="txtRight" > <textarea class="form-control shareMsg" placeholder="<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->t_a_placeholder; ?> " ></textarea></div> </div> <div class="btn-group" style="width:inherit;float:left;"> <button class="btn btn-success" onclick="getShareMsg('<?php echo $_smarty_tpl->tpl_vars['img_link']->value; ?> ')">Share</button> <button class="btn btn-primary" onclick="closeTxtArea()">Close</button> </div> </div></div><?php }
function content_54a1647dbfe441_19710554($_smarty_tpl) { ?> <head> <title><?php echo adminOrder('app_name', 'info'); ?> </title> <script> var adminOrder = Array(); adminOrder['animation'] = "<?php echo adminOrder('animation'); ?> "; var lang = Array(); lang['onErr'] ="<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->onErr; ?> "; lang['loading'] = '<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->loading; ?> '; lang['created'] = '<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->created; ?> '; lang['wait'] = '<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->wait; ?> '; lang['p_wait'] = '<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->p_wait; ?> '; lang['wPosting'] = '<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->wPosting; ?> '; lang['postSuccess'] = '<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->postSuccess; ?> '; lang['wDownload'] = '<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->wDownload; ?> '; lang['wPosting'] ='<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->wPosting; ?> '; lang['mailError'] ='<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->mailError; ?> '; lang['mailSending'] ='<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->mailSending; ?> '; lang['mailSent'] ='<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->mailSent; ?> '; lang['mailFail'] ='<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->mailFail; ?> '; lang['unknwnErr'] ='<?php echo $_smarty_tpl->tpl_vars['lang']->value->index->unknwnErr; ?> '; </script> <style > @font-face { font-family: fontOfApp; src: url(__stylesheet/__fonts/<?php echo adminOrder('fontName', 'config'); ?> ); font-size:13px; } </style> <link href="__stylesheet/default.css" rel="stylesheet" type="text/css" /> <link href="__boot/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <link href="__stylesheet/<?php echo adminOrder('color'); ?> .css" rel="stylesheet" type="text/css" /> <link href="__stylesheet/override.css" rel="stylesheet" type="text/css" /> <?php if (adminOrder('app_mode', 'default') == 'on') { ?> <script>userData = ["<?php echo $_smarty_tpl->tpl_vars['fb']->value->username; ?> ","<?php echo $_smarty_tpl->tpl_vars['fb']->value->username; ?> .jpg","<?php echo $_smarty_tpl->tpl_vars['app']->value['id']; ?> "];</script> <?php } else { ?> <script>userData = ["fadkit","fadkit.jpg","3333"];</script> <?php } ?> <script src="__jscript/jquery.js" type="text/javascript"></script> <script src="__boot/js/bootstrap.min.js" type="text/javascript"></script> <script src="__jscript/script.js" type="text/javascript"></script> <script src="__jscript/__fb__.js" type="text/javascript"></script> <script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script> </head> <?php }
*- @contact: samundrak@yahoo.com * * Current session user = $this->getUsername(); * Current user photo = $this->getUserImage(); * Current user name = $this->getName(); * Current user gender = $this->getGender(); * App font style = $this->getFontStyle(); * App Background Image = $this->getBackgroundImage(); * App font size = $this->getFontSize(); * App Final Image Link = $this->getFinalImageLink(); * You can make your own image generating script in this page with above details! */ $this->__first__(); $reasonOfDeath = array('Bus accident', 'cancer', 'HIV AIDS', 'Hang till Death', 'Sucide', 'Tuberclosis', 'jaundice', 'Falling from Cycle', 'Bike Accident', 'Snake bite', 'Malaria', 'Dengue', 'Heart Attack', 'Electric Shock', 'Becaming Too Old', 'Falling from Tree', 'Falling from Roof', 'Plane Crash', 'Terroist Attack', 'Tsunami', 'Earthquake', 'Too much happy', 'Too Much Depression', 'Bomb blasts'); $inTotal = count($reasonOfDeath); $copyRight = adminOrder("copyright") == 'on' ? adminOrder("copyright_msg") : ' '; try { $destinationFile = imagecreatefromjpeg($this->getBackgroundImage()); } catch (Exception $e) { $destinationFile = imagecreatefrompng($this->getBackgroundImage()); } try { $sourceFile = imagecreatefromjpeg($this->getUserImage()); } catch (Exception $e) { $sourceFile = imagecreatefrompng($this->getUserImage()); } $this->textColorRed = imagecolorallocate($destinationFile, 255, 0, 0); $this->textColorWhite = imagecolorallocate($destinationFile, 255, 255, 255); $this->textColorBlack = imagecolorallocate($destinationFile, 0, 0, 0); imagecopymerge($destinationFile, $sourceFile, 700, 130, 0, 0, 172, 180, 100); ImageTTFText($destinationFile, 40, 1, 600, 350, $this->textColorRed, $this->getFontStyle(), $this->getName());
<?php /* Copyright (C) 2014 Samundra kc *- @Author: Samundra kc; *- @contact: samundrak@yahoo.com * */ ob_start(); session_start(); $x = @$_SESSION['admin']; try { $lang = @simplexml_load_file('__languages/lang/' . adminOrder('languages')); if (!$lang) { throw new Exception(); } } catch (Exception $e) { try { $lang = @simplexml_load_file('__languages/lang/english.xml'); if (!$lang) { throw new Exception('Problem in language file.\\n May be error in XML tags or attributes'); } } catch (Exception $e) { echo $e->getMessage(); exit; } } $attr = $lang[0]->attributes(); $lCode = $attr['lang'];
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. *- @Author: Samundra kc; *- @contact: samundrak@yahoo.com * *- Free Facebook App PHP Scripts *- DownLoad it at http://www.soosal.com *- You can use this app for your Facebook Page *- or Any other commercial purpose,Buisness or Entertainment purpose *- Also this app will help new developers to learn about facebook app development *- You no need to take permisson with me to use this app for your commercial purpose. */ include '__src/__iii__.php'; require 'libs/Smarty.class.php'; require_once 'lib/swift_required.php'; //required $smarty = new smarty(); $smarty->assign('lang', $lang); $smarty->assign('img_link', $img->outputFinalLink(1)); $smarty->assign('fb', $fb); $smarty->assign('app', $app); if (adminOrder('app_mode', 'default') == 'on') { $smarty->assign('freindListId', $fb->freindListId()); } $smarty->display('templates/default/index.html');
<td><?php echo $this->lang->admin->app_type->a_price; ?> </td> <td><?php echo adminOrder('price', $json, 1); ?> </td> </tr> <tr> <td><?php echo $this->lang->admin->app_type->a_status; ?> </td> <td><?php if (adminOrder('app_code', 'info') == basename($cr_file, '.jpg')) { echo $this->lang->admin->app_type->a_active; } else { echo $this->lang->admin->app_type->a_not_active; } ?> </td> </tr> </tbody> </table> </li> </ul> </ul> </div> </div> </li>