403Webshell
Server IP : 64.202.187.69  /  Your IP : 216.73.217.74
Web Server : Apache
System : Linux 69.187.202.64.host.secureserver.net 3.10.0-1160.144.1.el7.tuxcare.els6.x86_64 #1 SMP Fri May 29 16:22:24 UTC 2026 x86_64
User : transmarket ( 1001)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/transmarket/translator/bak/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/transmarket/translator/bak/header3-dec-21-bak.php
<?php
if (session_id() == '') {
    session_start();
}
if (!isset($_SESSION['tm_id'])) {
    header("Location: login.php");
}
include 'controllers/update_user_details.php';

require_once('controllers/functions.test_voting.php');

$test_voting_obj = new Test_voting();

function check_active($arr_arguments) {
    $is_page = false;
    if (in_array(basename($_SERVER['PHP_SELF']), $arr_arguments)) {
        $is_page = true;
    }
    return $is_page;
}

//user level 0, spanish and test voting not yet completed - test voting phase
$start_test_voting = $test_voting_obj->getTestVotingStatus( $_SESSION['tm_language_id'], $_SESSION['tm_test_voting_completed_at'] );
//if( isset($_SESSION['tm_user_level']) && $_SESSION['tm_user_level'] == 0 || ($_SESSION['tm_language_id'] == 87 && $_SESSION['tm_test_voting_completed_at'] =='' ) ) {	
if( $start_test_voting == 'on' ) {
	$allowed_pages_arr = array('intro-test-voting.php','test-voting.php','settings.php');
	if (!in_array(basename($_SERVER['PHP_SELF']), $allowed_pages_arr)) {
		header("Location: intro-test-voting.php");
	}
}

?><!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>TranslateMe</title>
        <link rel="shortcut icon" type="image/png" href="images/favicon.ico"/>
		<!-- Font Awesome -->
		<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/all.css">
		<!-- Bootstrap core CSS -->
		<link rel="stylesheet" href="css/bootstrap.min.css">
		<!-- Material Design Bootstrap -->
		<link rel="stylesheet" href="css/mdb.min.css">		
		<link rel="stylesheet" href="css/style.css">		
		<link rel="stylesheet" href="css/timeline.css">
		<!-- Your custom styles (optional) -->
		<!-- DataTables.net  -->
		<link rel="stylesheet" type="text/css" href="css/addons/datatables.min.css">
		<link rel="stylesheet" href="css/addons/datatables-select.min.css">
    </head>
    <body class="fixed-sn white-skin">	
		<!-- Main Navigation -->
		<header>

			<!-- Sidebar navigation -->
			<div id="slide-out" class="side-nav sn-bg-4 fixed">
			  <ul class="custom-scrollbar">

				<!-- Logo -->
				<li class="logo-sn waves-effect py-3">
				  <div class="text-center">
					<a href="#" class="pl-0"><img src="images/logo.png"></a>
				  </div>
				</li>
				<li>
					<div class="text-center user-email">
						<i class="fas fa-user"></i> <span class="clearfix d-sm-inline-block"><?php echo $_SESSION['tm_email']; ?></span>
					</div>
				</li>
				<!-- Side navigation links -->
				<li>
				  <ul class="collapsible collapsible-accordion">

					<!-- Simple link -->
					
					
					<?php 
					//if($_SESSION['tm_user_level'] == 0 || ($_SESSION['tm_language_id'] == 87 && $_SESSION['tm_test_voting_completed_at'] =='' ) ) { 
						if( $start_test_voting == 'on' ) {
					?>
					
					<!-- Level 0 : Test Voting -->
					<!-- For Spanish Translator Only Start -->
					
						<li>
						  <a href="intro-test-voting.php" class="collapsible-header waves-effect"><i
							  class="w-fa fas fa-poll"></i>Introduction</a>
						</li>
						<li>
						  <a href="test-voting.php" class="collapsible-header waves-effect"><i
							  class="w-fa fas fa-poll"></i>Test Voting</a>
						</li>
						
					<!-- For Spanish Translator Only End -->
						
					<?php } else if( $_SESSION['tm_user_level'] >= 1 ) { ?>	
					
					
					<!-- From Level 1 onwards -->
					
					 
						<li>
						  <a href="index.php" class="collapsible-header waves-effect"><i
							  class="w-fa fas fa-tachometer-alt"></i>Dashboard</a>
						</li>
						
						<li>
							<a class="collapsible-header waves-effect arrow-r">
								<i class="w-fa fas fa-ribbon"></i>Reputation<i class="fas fa-angle-down rotate-icon"></i>
							</a>
						  <div class="collapsible-body">
							<ul>
							  <li>
								<a href="suggestions.php" class="waves-effect"><i class="w-fa fas fa-question"></i>Suggestions</a>
							  </li>
							  <li>
								<a href="voting.php" class="waves-effect"><i class="w-fa fas fa-poll"></i>Voting</a>
							  </li>
							</ul>
						  </div>
						</li>
						
						 
						<?php if($_SESSION['tm_marketplace_access'] == 1 || $_SESSION['tm_proof_alignment_access'] == 1) { ?>
						
						<li>
							<a class="collapsible-header waves-effect arrow-r"> 
								<i class="w-fa fas fa-dollar-sign"></i>Marketplace<i class="fas fa-angle-down rotate-icon"></i>
							</a>
						  <div class="collapsible-body">
							<ul>
							
							  <?php if($_SESSION['tm_marketplace_access'] == 1) { ?>
							  <li>
								<!--a href="suggestions-marketplace.php" class="waves-effect"><i class="w-fa fas fa-question"></i>Suggestions</a-->
								<a href="suggestion-paragraph.php" class="waves-effect"><i class="w-fa fas fa-question"></i>Suggestions</a>
							  </li>
							  <li>
								<!--a href="voting-marketplace.php" class="waves-effect"><i class="w-fa fas fa-poll"></i>Voting</a-->
								<a href="voting-paragraph.php" class="waves-effect"><i class="w-fa fas fa-poll"></i>Voting</a>
							  </li>
							  <?php } ?>
							  
							  <?php if($_SESSION['tm_proof_alignment_access'] == 1) { ?>
							  <li>
								<a href="documents.php" class="waves-effect"><i class="w-fa fas fa-align-center"></i>Proof Alignments</a>
							  </li>
							  <?php } ?>
							</ul>
						  </div>
						</li>	
						
						<?php } else { ?>
						
						<li>
							<a href="marketplace.php" class="collapsible-header waves-effect"> 
								<i class="w-fa fas fa-dollar-sign"></i>Marketplace</a>
						</li>
						
						<?php } ?>
						
						<?php /*if($_SESSION['tm_marketplace_access'] == 1) { ?>
							<li>
							  <a href="add-paragraph.php" class="collapsible-header waves-effect"><i
								  class="w-fa fas fa-paragraph"></i>Add Paragraph</a>
							</li>
						<?php } */ ?>
						<li>
						  <a href="claims.php" class="collapsible-header waves-effect"><i
							  class="w-fa fas fa-money-check"></i>Claims</a>
						</li>
						<li>
						  <a href="credit-history.php" class="collapsible-header waves-effect"><i
							  class="w-fa fas fa-list-alt"></i>Credit History</a>
						</li>
					
					<?php } ?>
					
					<li>
					  <a href="settings.php" class="collapsible-header waves-effect"><i
						  class="w-fa fas fa-cog"></i>Settings</a>
					</li>
					
					<li>
					  <a class="sh-logout collapsible-header waves-effect"><i
						  class="w-fa fas fa-sign-out-alt"></i>Sign Out</a>
					</li>

					
				  </ul>
				</li>
				<!-- Side navigation links -->

			  </ul>
			  <div class="sidenav-bg mask-strong"></div>
			</div>
			<!-- Sidebar navigation -->
        
		   <!-- Navbar -->
			<nav class="navbar fixed-top navbar-expand-lg scrolling-navbar double-nav">

			  <!-- SideNav slide-out button -->
			  <div class="float-left">
				<a href="#" data-activates="slide-out" class="button-collapse"><i class="fas fa-bars"></i></a>
			  </div>

			  <!-- Breadcrumb -->
			  <div class="breadcrumb-dn mr-auto" style="display:block !important;">
				<p><span><b>TMN <span class="mobile-hide">Credits</span>: <?php echo $_SESSION['tm_credits']; ?></b></span></p>
			  </div>
				<?php if(isset($_SESSION['whatsapp_link']) && $_SESSION['whatsapp_link'] != '') { ?>
			  <div class="d-flex change-mode">
				<!-- Navbar links -->
				<ul class="nav navbar-nav nav-flex-icons ml-auto">				
					<li class="nav-item">
					
						<div class="header-right main-header-inner">
							<span class="support-text"><b> <span class="mobile-hide">Contact</span> Support:</b></span><a target="_blank" href="<?php echo $_SESSION['whatsapp_link'];?>" title="click here" class="support-icon">
							<?php if(isset($_SESSION['link_type']) && $_SESSION['link_type'] != '') { ?>
								<img src="images/whatsapp.png" alt="Support Icon" width="25"/>
							<?php } else { ?>
								<img src="images/telegram.png" alt="Support Icon" width="25"/>
							<?php } ?>
							</a>
						</div>
					</li>
				</ul>
				<!-- Navbar links -->
			  </div>
				<?php } ?>
			</nav>
			<!-- Navbar -->
		</header>
		
		<div class="wrapper">

            <!-- Content Wrapper. Contains page content -->
             <!-- Main layout -->
  <main>

    <div class="container-fluid">

                <?php /*<div class="row">
                    <div class="col-sm-12">
                        <?php if ($_SESSION['tm_is_neo_verified'] == 0) { ?>
                            <div class="alert alert-secondary mb-0 dv-phidden" role="alert">
                                It appears your NEO address is not valid. Please check your NEO address <a href="settings.php">here</a>.
                            </div>
                        <?php } ?>
                    </div>
                </div>*/?>


Youez - 2016 - github.com/yon3zu
LinuXploit