403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.48
Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64
User : win 10 ( 0)
PHP Version : 8.2.12
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  D:/xampp/htdocs-coblaa/pureFaith/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/xampp/htdocs-coblaa/pureFaith/index.php
<!DOCTYPE html>

<html>
<head>
<title>Pure Faith | Global Faith & Daily Wisdom Videos</title>
<link rel="icon" type="image/jpg" href="http://coblaa.com/coblaa/main_icon/coblaa_log.png"  />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Pure Faith is your global hub for spiritual short videos and daily wisdom across all major faiths. Explore Christian, Islamic, Buddhist, Jewish, Hindu, and more religious content.">   
<link rel="stylesheet" type="text/css" href="main_css/index.css?v1" />
</head> 
<span style="display:none;" >
<?php
$user_ip = getenv('REMOTE_ADDR');
$geo = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$user_ip"));
$city = $geo["geoplugin_city"];
$country = $geo["geoplugin_countryName"];
?>

<?php 
session_start();
include('db.php'); 
if(isset($_SESSION['my_id']))
{
$user_id = $_SESSION['my_id'];		
}else{	
$user_id = $user_ip;		
}
?>

<input id="my_id" value="<?php echo $user_id ?>" style="display:none;" />
</span>



<body id="boded" >
<div id="cb_preloader" class="cb_preloader" ><img  src="main_icon/preloader.gif" alt="Loading" class="cb_preloader_img"/></div>
<div class="main_home_div" >
<div id="main_header_div" class="main_header_div" >
<a href="index"><img src="main_icon/pureFaith_log3.png" class="coblaa_log_img"/></a>
<h1 class="main_home_title" >PureFaith.com</h1>
<img src="main_icon/menuWhite.png" onClick="show_menu_div();" alt="Menu icon" class="menu_icon" />
<span id="pend_notf_out" class="disp_notf_span" > 1</span>
<img onClick="show_searchinput();" src="main_icon/searchW.png" alt="Show search area" class="sitat_sear_icon" />
</div>

<div id="main_search_div" class="main_search_div" >
<button onClick="clear_searchinput();" class="clear_main_ser_btn" >x</button>
<input id="search_input" onClick="get_ready_search();" class="ser_input" placeholder="Search" />
<!--button onClick="clear_searchinput();" class="clear_main_ser_btn" >x</button-->
<img onClick="searching_now();" src="main_icon/search_icon.png" class="main_ser_btn" alt="Start to search"/>
</div>

<div id="search_result" class="search_result" >
<div id="song_title_search_output" > </div>
</div>

</div>
<div class="positioning_div"></div>

<div id="menu_shell_div" class="menu_shell_div">

<div class="menu_div">


<a href="index" class="menu_btn">
<img onClick="show_searchinput();" src="main_icon/home_icon.png" class="menu_btn_icon" alt="Home button" />
<button class="menu_btn_lebal">Home</button>
</a>
<a hrefk="" onClick="show_faith_selDiv()" class="menu_btn">
<img  src="main_icon/path.png" class="menu_btn_icon" alt="Studio button" />
<button class="menu_btn_lebal">Religion</button>
</a>
<!--a href="https://coblaa.com/coblaa" class="menu_btn">
<img src="main_icon/music_icon.png" class="menu_btn_icon" alt="Audios button" />
<button class="menu_btn_lebal">Audios</button>
</a-->

<?php if(isset($_SESSION['my_id'])){ ?>

<a href="clip_studio" class="menu_btn">
<img  src="main_icon/studio_icon.png" class="menu_btn_icon" alt="Studio button" />
<button class="menu_btn_lebal">Studio</button>
</a>
<a href="cb_publisher" class="menu_btn">
<img  src="main_icon/studio_icon.png" class="menu_btn_icon" alt="Studio button" />
<button class="menu_btn_lebal">Join Publishers</button>
</a>
<a href="logout" class="menu_btn" >
<img src="main_icon/logout.png" class="menu_btn_icon" alt="Logout button" />
<button class="menu_btn_lebal">Logout</button>
</a>	
<?php }else{ ?>	
<a href="login" class="menu_btn" >
<img src="main_icon/login.png" class="menu_btn_icon" alt="Login button" />
<button class="menu_btn_lebal">Login</button>
</a>		
<?php } ?>

<a href="https://coblaa.com/privacy_policy" class="menu_btn">
<img onClick="show_searchinput();" src="main_icon/privcy_icon.png" class="menu_btn_icon" alt="Privacy policy" />
<button class="menu_btn_lebal">P Policy</button>
</a>

</div>
<div onClick="close_menu_div();"  class="menu_clocing_div"></div>
</div>

<div class="content_div" >



<h2 class="main_header_title" >Faith Daily: A Path to Peace</h2>

    <div class="sl-hero-feature-div" >
        <div class="sl-hero-video-placeholder">
          <span id="videos_featured_output"></span>   
			 
			
        </div>
    </div>
	
<!--  today --->

<div class="sl-daily-wisdom-card" >
    <h3 class="sl-section-heading">Daily Wisdom ✨</h3>
    <div id="dailyWisdomContent">
        <p id="wisdom_text_output" class="sl-info-message"></p>
    </div>
</div>
<!--  today end--->	

<div id="select_faith_div" onClick="show_faith_selDiv();" class="select_faith_div" >Select Your Path</div>

	
<h3 class="title_trending" >Trending Wisdom</h3>	

<div classk="videos_trending_output" id="videos_trending_output">Tomuch foere </div>

		

<h3  class="sl-section-title">Explore by Faith</h3>
<div id="faith_toggles" class="sl-faith-toggles-container">
        <button id="all" class="sl-faith-btn sl-faith-btn--active" onclick="filter_videos('all')">All Paths</button>
        <button id="1" class="sl-faith-btn" onclick="filter_videos('1')">Christianity</button>
        <button id="2" class="sl-faith-btn" onclick="filter_videos('2')">Islam</button>
        <!--button id="3" class="sl-faith-btn" onclick="filter_videos('3')">Judaism</button>
        <button id="4" class="sl-faith-btn" onclick="filter_videos('4')">Buddhism</button>
        <button id="5" class="sl-faith-btn" onclick="filter_videos('5')">Hinduism</button>
        <button id="6" class="sl-faith-btn" onclick="filter_videos('6')">Sikhism</button-->
</div>


<div id="videos_list_output"> </div> 
<button onClick="load_moreItems();" class="loadMore_btn" >Load More</button>





</div><!-- end of content_div --> 
<div id="shell_select_faith_div" class="shell_select_faith_div" >
<button onClick="close_shell_select_faith_div();" class="faith_closeBtn">x</button>
<select id="sub_select_faith" class="sub_select_faith">
<option>All Paths</option>
<option>Christianity</option>
<option>Islam</option>
</select>
<button onClick="save_uesrfaith()" class="faith_saveBtn">Save</button>
</div>

<div class="footer_div">
<a href="https://coblaa.com/privacy_policy" class="footer_lebal" >About Us</a>
<a href="https://coblaa.com/privacy_policy" class="footer_lebal" >Contact</a>
<a href="https://coblaa.com/privacy_policy" class="footer_lebal" >Privacy policy</a>
</div>

<input id="list_item_limit" value="30" style="display:none;" />
<input id="activ_cate" value="" style="display:none;" />

<script>

  window.addEventListener('load', function(){
  document.getElementById('cb_preloader').style.display="none";
  } );
  menu_close_staus=1;
  function show_menu_div()
{
	if(menu_close_staus==1){
	document.getElementById('menu_shell_div').style.display="block";
menu_close_staus=0;	
	}else{
	document.getElementById('menu_shell_div').style.display="none";	
	menu_close_staus=1;
	}

}
function close_menu_div()
{
	document.getElementById('menu_shell_div').style.display="none";
} 
 function show_searchinput()
{
	document.getElementById('main_search_div').style.display="block";
	document.getElementById('main_header_div').style.display="none";	
}
function clear_searchinput()
{
	document.getElementById('search_input').value="";
	document.getElementById('search_result').style.display="none";
	document.getElementById('main_search_div').style.display="none";
	document.getElementById('main_header_div').style.display="block";	
}
function searching_now() {
    incoming_search = document.getElementById('search_input').value;
	search_leng = incoming_search.length;
	if(search_leng < 3){document.getElementById('search_result').style.display="none";}else{
		  // Use the fetch API for a modern, asynchronous request
    fetch("auto_page.php?incoming_search="+incoming_search+"&&status=search_video")
        .then(response => {
            // Check if the request was successful
            if (!response.ok) {
                throw new Error('Network response was not ok');
            }
            // Parse the response body as text
            return response.text();
        })
        .then(data => {
            // Insert the HTML content into the videos_list_output div
            document.getElementById('song_title_search_output').innerHTML = data;
			document.getElementById('search_result').style.display="block";				
        })
        .catch(error => {
            // Handle any errors that occurred during the fetch
            console.error("Error fetching wisdomb text list:", error);
            document.getElementById('song_title_search_output').innerHTML = "<p>Failed to load wisdomb text.</p>";
			document.getElementById('search_result').style.display="block";	
        });	
}
}
  var stop_search;
  var start_search;
  var myTimeout;

 function get_ready_search()
 { 
document.getElementById("search_input").addEventListener("keydown", stop_search);
document.getElementById("search_input").addEventListener("keyup", start_search);
function start_search()
{
myTimeout = setTimeout(function myGreeting(){ 
	incoming_search = document.getElementById('search_input').value;
	leng_search_input = incoming_search.length;
	
	if(leng_search_input < 2){ document.getElementById('search_result').style.display="none";
	}else{
	  // Use the fetch API for a modern, asynchronous request
    fetch("auto_page.php?incoming_search="+incoming_search+"&&status=search_video")
        .then(response => {
            // Check if the request was successful
            if (!response.ok) {
                throw new Error('Network response was not ok');
            }
            // Parse the response body as text
            return response.text();
        })
        .then(data => {
            // Insert the HTML content into the videos_list_output div
            document.getElementById('song_title_search_output').innerHTML = data;
			document.getElementById('search_result').style.display="block";	
			
        })
        .catch(error => {
            // Handle any errors that occurred during the fetch
            console.error("Error fetching wisdomb text list:", error);
            document.getElementById('song_title_search_output').innerHTML = "<p>Failed to load wisdomb text.</p>";
			document.getElementById('search_result').style.display="block";	
        });		
	}	
}, 700);	
}
function stop_search()
{
clearTimeout(myTimeout);
}
} 
function disp_featured_video()
{
	  // Use the fetch API for a modern, asynchronous request
    fetch("auto_page.php?status=disp_featured_video")
        .then(response => {
            // Check if the request was successful
            if (!response.ok) {
                throw new Error('Network response was not ok');
            }
            // Parse the response body as text
            return response.text();
        })
        .then(data => {
            // Insert the HTML content into the videos_list_output div
            document.getElementById('videos_featured_output').innerHTML = data;
			
        })
        .catch(error => {
            // Handle any errors that occurred during the fetch
            console.error("Error fetching wisdomb text list:", error);
            document.getElementById('videos_featured_output').innerHTML = "<p>Failed to load wisdomb text.</p>";
        });		
}
disp_featured_video();

function disp_trending_video()
{	
  // Use the fetch API for a modern, asynchronous request
    fetch("auto_page.php?status=disp_trending_video")
        .then(response => {
            // Check if the request was successful
            if (!response.ok) {
                throw new Error('Network response was not ok');
            }
            // Parse the response body as text
            return response.text();
        })
        .then(data => {
            // Insert the HTML content into the videos_list_output div
            document.getElementById('videos_trending_output').innerHTML = data;
			userFaith = document.getElementById('userFaith').value;
			if(userFaith >0){document.getElementById('select_faith_div').style.display="none";}
			///document.getElementById('trending_div').style.display="flex";
			
			//userFaith = document.getElementById('userFaith').value;
			//if(userFaith == 1){
			//	document.getElementById('select_faith_div').style.display="none";
		//	}else{document.getElementById('select_faith_div').style.display="block";}
			
        })
        .catch(error => {
            // Handle any errors that occurred during the fetch
            console.error("Error fetching wisdomb text list:", error);
            document.getElementById('videos_trending_output').innerHTML = "<p>Failed to load wisdomb text.</p>";
        });		
}
disp_trending_video();

var btn_action='all';
function disp_video_list(faith = 'all')
{
	list_item_limit = document.getElementById('list_item_limit').value;
	document.getElementById('activ_cate').value=faith;	
    // Use the fetch API for a modern, asynchronous request
    fetch("auto_page.php?faith="+faith+"&list_item_limit="+list_item_limit+"&status=disp_video_list")
        .then(response => {
            // Check if the request was successful
            if (!response.ok) {
                throw new Error('Network response was not ok');
            }
            // Parse the response body as text
            return response.text();
        })
        .then(data => {
            // Insert the HTML content into the videos_list_output div
            document.getElementById('videos_list_output').innerHTML = data;
				document.getElementById(btn_action).style="background:white;border:1px solid #006064;color:#006064";
	btn_action=faith;
	document.getElementById(faith).style="background:#FFD700;color:#005662;border:1px so;id #FFD700;";
			
        })
        .catch(error => {
            // Handle any errors that occurred during the fetch
            console.error("Error fetching wisdomb text list:", error);
            document.getElementById('videos_list_output').innerHTML = "<p>Failed to load wisdomb text.</p>";
        });		
}
    // New wrapper function for click events
    function filter_videos(faith) { 
        disp_video_list(faith);
    }
	   function load_moreItems() { 
	   list_item_limit = Number(document.getElementById('list_item_limit').value) + 12;
	   document.getElementById('list_item_limit').value = list_item_limit;
	   activ_cate = document.getElementById('activ_cate').value;
        disp_video_list(activ_cate);
    }
    // Initial load
    disp_video_list();
	function disp_daily_wisdomtb() {
    // Use the fetch API for a modern, asynchronous request
    fetch("auto_page.php?status=disp_daily_wisdomtb")
        .then(response => {
            // Check if the request was successful
            if (!response.ok) {
                throw new Error('Network response was not ok');
            }
            // Parse the response body as text
            return response.text();
        })
        .then(data => {
            // Insert the HTML content into the videos_list_output div
            document.getElementById('wisdom_text_output').innerHTML = data;
			
        })
        .catch(error => {
            // Handle any errors that occurred during the fetch
            console.error("Error fetching wisdomb text list:", error);
            document.getElementById('wisdom_text_output').innerHTML = "<p>Failed to load wisdomb text.</p>";
        });
}
disp_daily_wisdomtb();	

function show_faith_selDiv()
{
	document.getElementById('select_faith_div').style.display="none";
	document.getElementById('shell_select_faith_div').style.display="flex";
}
function close_shell_select_faith_div()
{
	document.getElementById('select_faith_div').style.display="block";
	document.getElementById('shell_select_faith_div').style.display="none";	
}
function save_uesrfaith()
{
	sub_select_faith = document.getElementById('sub_select_faith').value;
    fetch("auto_page.php?sub_select_faith="+sub_select_faith+"&status=insert_userMain_faith")
        .then(response => {
            // Check if the request was successful
            if (!response.ok) {
                throw new Error('Network response was not ok');
            }
            // Parse the response body as text
            return response.text();
        })
        .then(data => {
            // Insert the HTML content into the videos_list_output div
			close_shell_select_faith_div();
			disp_trending_video();

			
        })
        .catch(error => {
            // Handle any errors that occurred during the fetch
            console.error("Error fetching wisdomb text list:", error);
           // document.getElementById('videos_list_output').innerHTML = "<p>Failed to load wisdomb text.</p>";
        });		
}


	
</script>


</body>	

				
</html>


Youez - 2016 - github.com/yon3zu
LinuXploit