Server IP : 108.163.255.210 / Your IP : 3.15.10.117 Web Server : Apache System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : ( 1172) PHP Version : 7.2.34 Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/unilinki/www/binarygains.in/developer1/ |
Upload File : |
<?php include("../config/error.php"); include("includes/header.php"); if((!isset($_SESSION['admin_id'])) && ($_SESSION['admin_id']=="")) { header("location:index.php"); } $menu7='class="active"'; if(isset($_REQUEST['submit'])) { $wtitle=addslashes($_REQUEST['title']); $wname=addslashes($_REQUEST['name']); $wkey=addslashes($_REQUEST['keywords']); $wdes=addslashes($_REQUEST['desc']); $wteam=addslashes($_REQUEST['team']); $wadmin=addslashes($_REQUEST['email']); $wurl=addslashes($_REQUEST['url']); $wpayid=addslashes($_REQUEST['paypal']); //echo $_FILES['logo']['name']; exit; if($_FILES['logo']['name']!='') { $wlogo=addslashes($_FILES['logo']['name']); move_uploaded_file($_FILES['logo']['tmp_name'],"../uploads/logo/".$wlogo); $logoqry=",gen_logo='$wlogo'"; } else { $logoqry=''; } //echo "update mlm_generalsetting set gen_title='$wtitle',gen_keywords='$wkey',gen_desc='$wdes',gen_sitename='$wname', gen_team='$wteam',gen_mail='$wadmin',gen_url='$wurl',gen_paypal='$wpayid' $logoqry where gen_id ='1'"; exit; $qry=mysql_query("update mlm_generalsetting set gen_title='$wtitle',gen_keywords='$wkey',gen_desc='$wdes',gen_sitename='$wname', gen_team='$wteam',gen_mail='$wadmin',gen_url='$wurl', gen_paypal='$wpayid' $logoqry where gen_id ='1'"); if($qry) { header("Location:setting.php?suss"); echo "<script>window.location='setting.php?suss';</script>"; } } ?> <script> function genvalidate() { var title = document.getElementById('title').value; var name = document.getElementById('name').value; var key = document.getElementById('keywords').value; var des = document.getElementById('desc').value; var team = document.getElementById('team').value; var email = document.getElementById('email').value; var url = document.getElementById('url').value; var payid = document.getElementById('paypal').value; var image = document.getElementById('logo').value; if(title == "") { alert("Enter the Website title"); document.getElementById('title').focus(); return false; } if(key == "") { alert("Enterthe Website Keywords"); document.getElementById('keywords').focus(); return false; } if(des == "") { alert("Enter the Website description"); document.getElementById('desc').focus(); return false; } if(team == "") { alert("Enter the Website Team"); document.getElementById('team').focus(); return false; } if(name == "") { alert("Enter the Website name"); document.getElementById('name').focus(); return false; } if(email == "") { alert("Enter the Email address"); document.getElementById('email').focus(); return false; } else { var re=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/; if(re.test(document.getElementById('email').value)==false) { alert("Enter the Valid Email Address"); document.getElementById('email').focus(); document.getElementById('email').value = ""; return false; } } if(url == "") { alert("Enter the Website URL"); document.getElementById('url').focus(); return false; } if(payid == "") { alert("Enter the Website Paypal id"); document.getElementById('paypal').focus(); return false; } if(document.getElementById('hide').value == "") { if(image == "") { alert("Please enter the the Website Logo"); document.getElementById('logo').focus(); return false; } else { var ss=document.getElementById('logo').value; var index=ss.lastIndexOf("."); var sstring=ss.substring(index+1); var ssivanew=sstring.toLowerCase(); if(ssivanew!="jpg" && ssivanew!="png" && ssivanew!="jpeg" && ssivanew!="gif" && ssivanew!="JPG" && ssivanew!="PNG" && ssivanew!="JPEG" && ssivanew!="GIF") { alert("Please upload .jpg , .png , .jpeg , .gif files only"); document.getElementById('logo').value=""; document.getElementById('logo').focus(); return false; } } } } </script> <div class="main-container container-fluid"> <a class="menu-toggler" id="menu-toggler" href="#"> <span class="menu-text"></span> </a> <?php include("includes/sidebar.php"); ?> <div class="main-content"> <div class="breadcrumbs" id="breadcrumbs"> <ul class="breadcrumb"> <li> <i class="icon-home home-icon"></i> <a href="dashboard.php">Home</a> <span class="divider"> <i class="icon-angle-right arrow-icon"></i> </span> </li> <li> <a href="setting.php">General Website Settings </a> <!--<span class="divider"> <i class="icon-angle-right arrow-icon"></i> </span>--> </li> </ul><!--.breadcrumb--> </div> <div class="page-content"> <div class="page-header position-relative"> <h1> General Settings </h1> </div><!--/.page-header--> <div class="row-fluid"> <div class="span12"> <?php if(isset($_REQUEST['suss'])) { ?> <div class="alert alert-block alert-success"> <button type="button" class="close" data-dismiss="alert"> <i class="icon-remove"></i> </button> <i class="icon-ok green"></i> <strong class="green"> Settings Updated Successfully !!! </strong> </div> <?php } ?> <!--PAGE CONTENT BEGINS--> <form class="form-horizontal" name="general" method="post" action="" onsubmit="return genvalidate();" enctype="multipart/form-data" /> <div class="control-group"> <label class="control-label" for="form-field-1">Website Title <span style="color:#FF0000;">*</span> : </label> <div class="controls"> <input type="text" name="title" id="title" value="<?php echo $website_title; ?>"/> </div> </div> <div class="control-group"> <label class="control-label" for="form-field-2">Website Keywords<span style="color:#FF0000;">*</span> : </label> <div class="controls"> <textarea name="keywords" id="keywords" style="width:300px; height:100px;"><?php echo $website_keywords; ?></textarea> </div> </div> <div class="control-group"> <label class="control-label" for="form-field-2">Website Description <span style="color:#FF0000;">*</span> : </label> <div class="controls"> <textarea name="desc" id="desc" style="width:300px; height:100px;"><?php echo $website_desc; ?></textarea> </div> </div> <div class="control-group"> <label class="control-label" for="form-field-1">Website Team <span style="color:#FF0000;">*</span> : </label> <div class="controls"> <input type="text" name="team" id="team" value="<?php echo $website_team; ?>" /> </div> </div> <div class="control-group"> <label class="control-label" for="form-field-1">Website Name <span style="color:#FF0000;">*</span> : </label> <div class="controls"> <input type="text" name="name" id="name" value="<?php echo $website_name; ?>"/> </div> </div> <div class="control-group"> <label class="control-label" for="form-field-1">Website URL <span style="color:#FF0000;">*</span> : </label> <div class="controls"> <input type="text" name="url" id="url" value="<?php echo $website_url; ?>"/> <span style="color:#CCCCCC">Ex: http://www.domain.com</span> </div> </div> <div class="control-group"> <label class="control-label" for="form-field-1">Admin Email <span style="color:#FF0000;">*</span> : </label> <div class="controls"> <input type="text" name="email" id="email" value="<?php echo $website_admin; ?>"/> <span style="color:#CCCCCC">Ex: example@domain.com</span> </div> </div> <div class="control-group"> <label class="control-label" for="form-field-1">Paypal Email <span style="color:#FF0000;">*</span> : </label> <div class="controls"> <input type="text" name="paypal" id="paypal" value="<?php echo $paypal_id; ?>"/> <span style="color:#CCCCCC">Ex: example@domain.com</span> </div> </div> <div class="control-group"> <label class="control-label" for="form-field-1">Current Logo : </label> <div class="controls"> <img src="../uploads/logo/<?php echo $sitelogo; ?>" width="180" height="60" /> </div> </div> <input type="hidden" name="hide" id="hide" value="<?php echo $sitelogo; ?>" /> <div class="control-group"> <label class="control-label" for="form-field-1">Website Logo <span style="color:#FF0000;">*</span> : </label> <div class="controls"> <input type="file" name="logo" id="logo" /> </div> </div> <div class="form-actions"> <!-- <button class="btn btn-info" type="button"> <i class="icon-ok bigger-110"></i> Submit </button> --> <!--<input type="submit" name="submit" value="SUBMIT" class="btn btn-info" style="font-weight:bold;">--> <input type="button" value="SUBMIT" class="btn btn-info" style="font-weight:bold;" onclick="alert('This feature is disabled for demo version');"> <!--<button class="btn" type="reset"> <i class="icon-undo bigger-110"></i> Reset </button>--> <input type="reset" name="reset" value="RESET" class="btn" style="font-weight:bold;"> <br />This feature is disabled for demo version </div> <div class="hr"></div> <!--/row--> <!--/row--> </form> <div class="hr hr-18 dotted hr-double"></div> <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-small btn-inverse"> <i class="icon-double-angle-up icon-only bigger-110"></i> </a> <!--basic scripts--> <!--[if !IE]>--> <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> <!--<![endif]--> <!--[if IE]> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <![endif]--> <!--[if !IE]>--> <script type="text/javascript"> window.jQuery || document.write("<script src='assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>"); </script> <!--<![endif]--> <!--[if IE]> <script type="text/javascript"> window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>"); </script> <![endif]--> <script type="text/javascript"> if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>"); </script> <script src="assets/js/bootstrap.min.js"></script> <!--page specific plugin scripts--> <!--[if lte IE 8]> <script src="assets/js/excanvas.min.js"></script> <![endif]--> <script src="assets/js/jquery-ui-1.10.3.custom.min.js"></script> <script src="assets/js/jquery.ui.touch-punch.min.js"></script> <script src="assets/js/jquery.slimscroll.min.js"></script> <script src="assets/js/jquery.easy-pie-chart.min.js"></script> <script src="assets/js/jquery.sparkline.min.js"></script> <script src="assets/js/flot/jquery.flot.min.js"></script> <script src="assets/js/flot/jquery.flot.pie.min.js"></script> <script src="assets/js/flot/jquery.flot.resize.min.js"></script> <!--ace scripts--> <script src="assets/js/ace-elements.min.js"></script> <script src="assets/js/ace.min.js"></script> <!--inline scripts related to this page--> <script type="text/javascript"> $(function() { $('.easy-pie-chart.percentage').each(function(){ var $box = $(this).closest('.infobox'); var barColor = $(this).data('color') || (!$box.hasClass('infobox-dark') ? $box.css('color') : 'rgba(255,255,255,0.95)'); var trackColor = barColor == 'rgba(255,255,255,0.95)' ? 'rgba(255,255,255,0.25)' : '#E2E2E2'; var size = parseInt($(this).data('size')) || 50; $(this).easyPieChart({ barColor: barColor, trackColor: trackColor, scaleColor: false, lineCap: 'butt', lineWidth: parseInt(size/10), animate: /msie\s*(8|7|6)/.test(navigator.userAgent.toLowerCase()) ? false : 1000, size: size }); }) $('.sparkline').each(function(){ var $box = $(this).closest('.infobox'); var barColor = !$box.hasClass('infobox-dark') ? $box.css('color') : '#FFF'; $(this).sparkline('html', {tagValuesAttribute:'data-values', type: 'bar', barColor: barColor , chartRangeMin:$(this).data('min') || 0} ); }); var placeholder = $('#piechart-placeholder').css({'width':'90%' , 'min-height':'150px'}); var data = [ { label: "social networks", data: 38.7, color: "#68BC31"}, { label: "search engines", data: 24.5, color: "#2091CF"}, { label: "ad campaings", data: 8.2, color: "#AF4E96"}, { label: "direct traffic", data: 18.6, color: "#DA5430"}, { label: "other", data: 10, color: "#FEE074"} ] function drawPieChart(placeholder, data, position) { $.plot(placeholder, data, { series: { pie: { show: true, tilt:0.8, highlight: { opacity: 0.25 }, stroke: { color: '#fff', width: 2 }, startAngle: 2 } }, legend: { show: true, position: position || "ne", labelBoxBorderColor: null, margin:[-30,15] } , grid: { hoverable: true, clickable: true } }) } drawPieChart(placeholder, data); /** we saved the drawing function and the data to redraw with different position later when switching to RTL mode dynamically so that's not needed actually. */ placeholder.data('chart', data); placeholder.data('draw', drawPieChart); var $tooltip = $("<div class='tooltip top in hide'><div class='tooltip-inner'></div></div>").appendTo('body'); var previousPoint = null; placeholder.on('plothover', function (event, pos, item) { if(item) { if (previousPoint != item.seriesIndex) { previousPoint = item.seriesIndex; var tip = item.series['label'] + " : " + item.series['percent']+'%'; $tooltip.show().children(0).text(tip); } $tooltip.css({top:pos.pageY + 10, left:pos.pageX + 10}); } else { $tooltip.hide(); previousPoint = null; } }); var d1 = []; for (var i = 0; i < Math.PI * 2; i += 0.5) { d1.push([i, Math.sin(i)]); } var d2 = []; for (var i = 0; i < Math.PI * 2; i += 0.5) { d2.push([i, Math.cos(i)]); } var d3 = []; for (var i = 0; i < Math.PI * 2; i += 0.2) { d3.push([i, Math.tan(i)]); } var sales_charts = $('#sales-charts').css({'width':'100%' , 'height':'220px'}); $.plot("#sales-charts", [ { label: "Domains", data: d1 }, { label: "Hosting", data: d2 }, { label: "Services", data: d3 } ], { hoverable: true, shadowSize: 0, series: { lines: { show: true }, points: { show: true } }, xaxis: { tickLength: 0 }, yaxis: { ticks: 10, min: -2, max: 2, tickDecimals: 3 }, grid: { backgroundColor: { colors: [ "#fff", "#fff" ] }, borderWidth: 1, borderColor:'#555' } }); $('#recent-box [data-rel="tooltip"]').tooltip({placement: tooltip_placement}); function tooltip_placement(context, source) { var $source = $(source); var $parent = $source.closest('.tab-content') var off1 = $parent.offset(); var w1 = $parent.width(); var off2 = $source.offset(); var w2 = $source.width(); if( parseInt(off2.left) < parseInt(off1.left) + parseInt(w1 / 2) ) return 'right'; return 'left'; } $('.dialogs,.comments').slimScroll({ height: '300px' }); //Android's default browser somehow is confused when tapping on label which will lead to dragging the task //so disable dragging when clicking on label var agent = navigator.userAgent.toLowerCase(); if("ontouchstart" in document && /applewebkit/.test(agent) && /android/.test(agent)) $('#tasks').on('touchstart', function(e){ var li = $(e.target).closest('#tasks li'); if(li.length == 0)return; var label = li.find('label.inline').get(0); if(label == e.target || $.contains(label, e.target)) e.stopImmediatePropagation() ; }); $('#tasks').sortable({ opacity:0.8, revert:true, forceHelperSize:true, placeholder: 'draggable-placeholder', forcePlaceholderSize:true, tolerance:'pointer', stop: function( event, ui ) {//just for Chrome!!!! so that dropdowns on items don't appear below other items after being moved $(ui.item).css('z-index', 'auto'); } } ); $('#tasks').disableSelection(); $('#tasks input:checkbox').removeAttr('checked').on('click', function(){ if(this.checked) $(this).closest('li').addClass('selected'); else $(this).closest('li').removeClass('selected'); }); }) </script> </body> </html>