<?
require_once("/BANGK!/_other/transcriber.wiki/tube-to-text_redirect.nsdb");
### DO THIS FIRST:
require_once("/BANGK!/master_config.php");
require_once($master_config_root_path . "shared/functions.shared");
$active_user_session_timeout = "OFF"; // no session timeout on this page
$_SESSION['session']['geo']['known'] = "TRUE"; // turn off IP lookup!
require_once($master_config_root_path . "shared/session.shared");
traffic_counter($domain=$_SESSION['template']['company']['domain']);




$incoming_vars = "";
$incoming_vars = array();
logger3("_POST",$_POST);
if($_POST) $incoming_vars = $_POST;
logger3("_GET",$_GET);
if(empty($incoming_vars)) $incoming_vars = $_GET;
$incoming_vars['argv'] = $_SERVER['argv'];

logger3("












########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
### NEW SESSION:  [" . $_SERVER['SCRIPT_NAME'] . "]
########################################################################################
########################################################################################

",$incoming_vars);
#
#
#
### START: SESSIONS & STUFF:


####################################################################################
####################################################################################
####################################################################################
####################################################################################

### FACEBOOK (DEFAULT):
$PERSONALIZED_TITLE = "Transcriber.wiki";
$PERSONALIZED_DESCRIPTION = $row_details['channel_name'] . ": " . $row_details['title'];
$SLOGAN_1 = " ...@ Transcriber.wiki: Unlocking the world's \"spoken\" knowledge.";
$SLOGAN_2 = "Free Speech-to-Text, Archival and KEY-WORD 'SEARCHABLE'";
$PERSONALIZED_LOGO = "https://Transcriber.wiki/link_images/TTT_facebook_1200x630_v2.png";
$PERSONALIZED_BUSINESS_NAME = "Transcriber.wiki";
$PERSONALIZED_BUSINESS_URL = "https://Transcriber.wiki/?transcription=". $row_details['hash'];
$PERSONALIZED_FAVICON_ICO = "https://Transcriber.wiki/link_images/favicon_Transcriber_wiki.ico";
$PERSONALIZED_FAVICON_PNG = "https://Transcriber.wiki/link_images/favicon_Transcriber_wiki.png";


if(stristr($_SERVER['HTTP_USER_AGENT'],"REDDIT")) {

	$PERSONALIZED_TITLE = "Transcriber.wiki";
	$PERSONALIZED_DESCRIPTION = $row_details['channel_name'] . ": " . $row_details['title'];
	$SLOGAN_1 = " ...TRANSCRIBED @ Transcriber.wiki -- Unlocking the world's \"spoken\" knowledge.";
	$SLOGAN_2 = "Free Speech-to-Text, Archival and SPOKEN-WORD SEARCHABLE";
	$SLOGAN_3 = "Transcribe your audio/videos for FREE - ALL your valuable \"spoken\" knowledge readable and KEY-WORD-SEARCHABLE!";
	$PERSONALIZED_LOGO = "https://Transcriber.wiki/link_images/Transcriber_wiki_icon_500x500_v1.png";
	$PERSONALIZED_BUSINESS_NAME = "Transcriber.wiki";
	$PERSONALIZED_BUSINESS_URL = "https://Transcriber.wiki/?transcription=". $row_details['hash'];
	$PERSONALIZED_FAVICON_ICO = "https://Transcriber.wiki/link_images/favicon_Transcriber_wiki.ico";
	$PERSONALIZED_FAVICON_PNG = "https://Transcriber.wiki/link_images/favicon_Transcriber_wiki.png";

}

####################################################################################
####################################################################################
####################################################################################
####################################################################################



$display_IVR_works = FALSE;
?>


<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content="<? echo $PERSONALIZED_DESCRIPTION; ?>" />
    <meta name="author" content="<? echo $PERSONALIZED_BUSINESS_NAME; ?>"/>
   


    <title><? echo $PERSONALIZED_TITLE; ?></title> 
	
	<LINK rel='SHORTCUT ICON' href='<? echo $PERSONALIZED_FAVICON_ICO; ?>' type='image/x-icon' />
	<link rel='icon' href='<? echo $PERSONALIZED_FAVICON_ICO; ?>' type='image/x-icon' />
	
	<link rel="icon" type="image/png" href="<? echo $PERSONALIZED_FAVICON_PNG; ?>"/>
	<link rel="shortcut icon" type="image/png" href="<? echo $PERSONALIZED_FAVICON_PNG; ?>" />
		
	
	<!-- for Google -->
	<meta name="description" content="<? echo $PERSONALIZED_DESCRIPTION; ?>" />
	<meta name="keywords" content="<? echo $row_details['keywords']; ?>" />
	
	<meta name="author" content="<? echo $PERSONALIZED_BUSINESS_NAME; ?>" />
	<meta name="copyright" content="2016+" />
	<meta name="application-name" content="<? echo $PERSONALIZED_TITLE; ?>" />
	
	<!-- for Facebook -->     
	<meta property="og:site_name" content="<? echo $PERSONALIZED_BUSINESS_NAME; ?>" />     
	<meta property="og:title" content="<? echo $PERSONALIZED_TITLE; ?>" />
	<meta property="og:type" content="website" />
	<meta property="og:image" content="<? echo $PERSONALIZED_LOGO; ?>" />
	<meta property="og:url" content="<? echo $PERSONALIZED_BUSINESS_URL; ?>" />
	<meta property="og:description" content="<? echo $PERSONALIZED_DESCRIPTION; ?>" />
	
	<!-- for Twitter -->          
	<meta name="twitter:card" content="summary" />
	<meta name="twitter:title" content="<? echo $PERSONALIZED_TITLE; ?>" />
	<meta name="twitter:description" content="<? echo $PERSONALIZED_DESCRIPTION; ?>" />
	<meta name="twitter:image" content="<? echo $PERSONALIZED_LOGO; ?>" />	
	
	<meta property="fb:app_id" content="1896315070384513" />
	
	<style>
	
		input[type="text"] {
		  display: block;
		  margin: 0;
		  width: 100%;
		  font-family: sans-serif;
		  font-size: 18px;
		  appearance: none;
		  box-shadow: none;
		  border-radius: none;
		}
		input[type="text"]:focus {
		  outline: none;
		}

		.style-1 input[type="text"] {
			padding: 10px;
			border: solid 1px #dcdcdc;
			transition: box-shadow 0.3s, border 0.3s;
		}
		.style-1 input[type="text"]:focus,
		.style-1 input[type="text"].focus {
			border: solid 1px #707070;
			box-shadow: 0 0 5px 1px #969696;
		}
	
	
	</style>
	
	
</head>


<body style="background-color: #EEEEEE; font-family:helvetica neue, verdana; font-size:14px; line-height:60px; color:#888888; word-wrap: break-word; line-height: 32px;">

<? echo $transcription_status_message; ?>

<form action="processing.nsdb" method="post">

<center>
	<table style="width:800px;  margin-top: 20px;">
		
		
		
		
		<tr>
			<td style="text-align: center;">
				<img src='https://Transcriber.wiki/link_images/Transcriber_wiki_banner_v1.png' style="width: 800px;">
			</td>
		</tr>
		<tr>
			<td style="text-align: center;">
				<table style="width: 100%;">
					<tr>
						
						<td style="text-align: left;">
							
							
							
							
							<?
								
								
								if(empty($_SESSION['member'])) {
									
									echo "<a href='https://Transcriber.wiki/login.nsdb'  style='text-decoration: none; color:#888888;'><span style='font-size: 14px; color:#CC8888;'><b>LOG-IN</b></span> ...to Edit & Earn <b>TTTCoin</b>&trade;</a>";
									
								} else {
									
									echo "<span style='color:#DD8888; font-size: 18px;'>";
									echo "Member: <b>" . $_SESSION['member']['username'] . "</b>";
									echo "&nbsp;&nbsp;&nbsp;";
									
									echo "<span style='font-size: 11px; font-weight:normal;'><a href='https://Transcriber.wiki/processing.nsdb?LOG-OUT=NOW'  style='text-decoration: none; color:#888888;'>(LOG-OUT)</a></span>";
									
									echo "<br>";
									echo "TTTCoin&trade; Balance :: <b>" . number_format($_SESSION['member']['coin_balance'],2) . "</b>";
									echo "</span>";
									
									
								}
								
								
								
								
							?>
							
						
						
						
						</td>
						
						
						<td style="text-align: right;">
							<? if($display_IVR_works == TRUE) { ?>
							<span style="font-size: 12px; vertical-align: 20px;"><a href='http://IVR.works' target='_IVR.works' style="text-decoration: none; color:#888888;"><i>...beta, is powered by <img src='https://Transcriber.wiki/link_images/IVR_works_icon_2.png' style="height: 20px; vertical-align: -3px;"> IVR.works&trade;</i></span></a></span>
							<? } ?>
						</td>
					</tr>
				</table>
				
				
				
			<td>
		</tr>

		<tr>
			<td style="text-align: center; padding-top: 0px;  padding-bottom: 0px;">

				<span style="font-familt:arial; font-weight:bold; font-size:22px; color:#000000;">- FULL DIRECTORY - </span>
				
			</td>
		</tr>
		

		<tr>
			<td colspan="" style="text-align: center; padding-top: 0px;  padding-bottom: 0px;">
						
 
			<span style="line-height: 12px;">
				<span style="color:#888888;">All your videos... <span style="color:#0000CC;">"key-word" searchable, readable and printable!</b></span></span>
			</span>
			<br>
				
				And it's 100% FREE &nbsp;<i>(nice!)</i>
				
			</td>
		</tr>
		
		
		
		

		
		
		
		
		<tr>
			<td>
				
				
				
				
				
				
				
				

<?	

$display_ads = FALSE;
$display_lotto_banners = TRUE;
											
$and_hidden_ip_addresses = "";
if(stristr($_SERVER['REMOTE_ADDR'],"104.54.206")) $display_lotto_banners = FALSE;
if(stristr($_SERVER['REMOTE_ADDR'],"64.134.146")) $display_lotto_banners = FALSE;
if(stristr($_SERVER['REMOTE_ADDR'],"64.134.31")) $display_lotto_banners = FALSE;
if(stristr($_SERVER['REMOTE_ADDR'],"46.166.139")) $display_lotto_banners = FALSE;
//if(stristr($_SERVER['REMOTE_ADDR'],"74.81.189")) $display_lotto_banners = FALSE;
if(stristr($_SERVER['REMOTE_ADDR'],"_XXXXX_")) $display_lotto_banners = FALSE;


$sponsor_banner_to_display = '
	<table style="background-color: #FFFFFF; width:900px;">
	<tr>
		<td style="padding:12px; line-height: 30px; width:50%;">

<a target="_ZOOMIN" href="http://www.zoomin.gallery/"><img src="https://images.zoomin.gallery/ZoomIN/ZoomIN-Gallery-Logo-(H)-v0.png" style="width:400px;"></a>



	
<br>
<ul>
	
	<li><a target="_ZOOMIN" href="http://www.zoomin.gallery/" style="font-family:verdana; font-size:16px; line-height:18px; color:#132C73; text-decoration: none;"><b>Now w/ <u>PaparaZ Mode</u>&trade;</b></a></li>
	<li><a target="_ZOOMIN" href="http://www.zoomin.gallery/" style="font-family:verdana; font-size:16px; line-height:18px; color:#9E4364; text-decoration: none;">Earn USD 20.00+ / hr taking photos w/ your mobile phone!</a></li>
</ul>

		</td>
		<td style=" width:50%; padding:12px; line-height: 30px;  width:50%;">
			
			<a target="_PAYYAP" href="https://PAYYAP.network/">
					<img src="https://images.PAYYAP.network/PAYYAP_TTT_BANNER.png" style="width:425px;">
				</a>
			
		</td>
	</tr>
</table>
';
	

if($display_lotto_banners == TRUE) {



	
$sponsor_banner_to_display = '

	<br>
	<center>
	<span style="color:#000000; font-size:22px;">
	Sponsored by: &nbsp; <b>Jackpot.com</b> (<u>buy global lottery tickets</u> <b><i>from the comfort of your home</i></b>):
	</span>
	
	<table style="background-color: #FFFFFF; width:900px;">
		<tr>
			
			<td style="padding:12px; line-height: 30px; width:33%;">


				<a target="thelottery.com" href="http://traffic.mylotto.com?t=41903&b=3&p=5&lid=60&l=1"><img src="http://banners.mylotto.com/jpeg_banners/dynamic/megamillions/en/300X250.jpg" alt="Click Now!" style="width:300px; height:250px; border:solid 1px black;" /></a>

			</td>
			
			<td style="padding:12px; line-height: 30px; width:33%;">


				<a target="thelottery.com" href="http://traffic.mylotto.com?t=41903&b=3&p=5&lid=25&l=1"><img src="http://banners.mylotto.com/jpeg_banners/dynamic/powerball/en/300X250.jpg" alt="Click Now!" style="width:300px; height:250px; border:solid 1px black;" /></a>

			</td>
			
			<td style="padding:12px; line-height: 30px; width:33%;">
			
				<a target="thelottery.com" href="http://traffic.mylotto.com?t=41903&b=3&p=5&lid=99&l=1"><img src="http://banners.mylotto.com/jpeg_banners/dynamic/euromillions/en/300X250.jpg" alt="Click Now!" style="width:300px; height:250px; border:solid 1px black;" /></a>


			</td>
			
			
		</tr>
	</table>
	';
}
?>


<?
	if($display_ads == TRUE) {
		echo $sponsor_banner_to_display;
	}
?>
</center>				
				
				
				
				
				
				
				
				
				
				
<center>
	<table style="width:100%;">
		<tr>
			<td style="text-align: left;">
				<button type='button' onclick='location.replace("https://Transcriber.wiki/search.nsdb?clear_session=please");'><b>Transcriber.wiki</b>&trade; (Start New Search)</button>
				</td>
			<td style="text-align: right;">
				<button type='button' onclick='location.replace("https://Transcriber.wiki/add_video.nsdb");'><b>Transcriber.wiki</b>&trade; (Add Your Videos)</button>
			</td>
		</tr>
	</table>
</center>


				<center>
				
					
					<?
					
						/////////////////////////////////////////////////////////////////////////////////
						/////////////////////////////////////////////////////////////////////////////////
						/////////////////////////////////////////////////////////////////////////////////
						/////////////////////////////////////////////////////////////////////////////////
						/// SHOW FULL DIRECTORY
						/////////////////////////////////////////////////////////////////////////////////
						if(
							(empty(trim($incoming_vars['channel_name'])))
						) {
						
					?>
				
				
				
					<table style="width:100%; font-size: 12px; border-collapse: collapse; margin-top: 10px;">
						
												
							
												
						<tr>
							
							<?
								
															
								### MINIMUM DURARTIN SECONDS:
								$minimum_time_to_appear_in_the_directory = "0:2:0";
								sscanf($minimum_time_to_appear_in_the_directory, "%d:%d:%d", $hours, $minimum_minutes, $seconds);
								$miniumum_seconds = isset($seconds) ? $hours * 3600 + $minimum_minutes * 60 + $seconds : $hours * 60 + $minutes;
								//test("miniumum_seconds",$miniumum_seconds);

							?>
							
							
							
							<td style="border-color: #DDDDDD; color:#000000; border-style: solid; border-width: 1px; width:33%; text-align: center; text-shadow: 1px 1px #FFFFFF; font-size: 14px; line-height: 20px; padding:10px;">
								<b>NEWEST "TRANSCRIBED":</b>
								<br>
								<span style="color:#888888; font-size: 11px; text-shadow: 0px 0px #CCCCCC; font-weight: none;"><i>(<? echo $minimum_minutes; ?> Minute Minimum for Listing)</i></span>
							</td>
							
							<td style="border-color: #DDDDDD; color:#FFFFFF; border-style: solid; border-width: 1px; width:33%; text-align: center; text-shadow: 1px 1px #444444; font-size: 14px;">
								<b>TOTALLY "RANDOM":</b>
							</td>
							
							<td style="border-color: #DDDDDD; color:#CC0000; border-style: solid; border-width: 1px; width:33%; text-align: center; text-shadow: 1px 1px #FFFFFF; font-size: 14px;">
								<b>YOUTUBE "CHANNELS" (A-Z):</b>
							</td>
							
						</tr>
						
						
						<? 
							
							//$tmp_sql = "SELECT DISTINCT(channel_name) AS channel_name FROM transcriptions ORDER BY datetime_created DESC LIMIT 10;";
							
							
# 							$tmp_sql = "SELECT DISTINCT(hash),
#   ( SELECT DISTINCT(channel_name) ) AS b
# 
# FROM transcriptions
# ORDER BY datetime_created DESC LIMIT 10;";
# 


								$tmp_sql = "SELECT array_serialized FROM quick_references WHERE array_name = 'alphabetical_channels_array_full' ORDER BY datetime_created DESC LIMIT 1;";
								$alphabetical_channels_array = getTHECASHIER($tmp_sql,"transcriptions");
								$_SESSION['tube-to-text']['alphabetical_channels_array'] = $alphabetical_channels_array = unserialize($alphabetical_channels_array);
								
								
								
								
								$tmp_sql = "SELECT array_serialized FROM quick_references WHERE array_name = 'newest_transcriptions_array_full' ORDER BY datetime_created DESC LIMIT 1;";
								$newest_transcriptions_array = getTHECASHIER($tmp_sql,"transcriptions");
								$_SESSION['tube-to-text']['newest_transcriptions_array'] = $newest_transcriptions_array = unserialize($newest_transcriptions_array);
								
								
								
								$tmp_sql = "SELECT array_serialized FROM quick_references WHERE array_name = 'totally_random_array_full' ORDER BY datetime_created DESC LIMIT 1;";
								$totally_random_array = getTHECASHIER($tmp_sql,"transcriptions");
								$_SESSION['tube-to-text']['totally_random_array'] = $totally_random_array = unserialize($totally_random_array);
							
							
							
							
							
							
							foreach($alphabetical_channels_array as $key => $value) {
								
								//test("value",$value);
								
								
								
								
								
								
								
						
						?>
								
								<tr>
							
									
									
									
									<!-- NEW -->
									<td style="padding-left:25px; border-color: #DDDDDD; border-style: solid; border-width: 1px; width:33%; text-align: left;">
										
										<?
											
											
											
											$truncated_title = truncate_title($string=$newest_transcriptions_array[$key]['title'], $length=30, $dots = "...");
											//test("truncated_title",$truncated_title);
											
										?>
										
										<a style="color:; text-decoration: none;" href="https://Transcriber.wiki/?transcription=<? echo $newest_transcriptions_array[$key]['hash']; ?>">"<? echo $truncated_title; ?>"</a>
									</td>
									
									
									
									<!-- RANDOM -->
									<td style="padding-left:25px; border-color: #DDDDDD; border-style: solid; border-width: 1px; width:33%; text-align: left;">
										
										<?
										
											$truncated_title = truncate_title($string=$totally_random_array[$key]['title'], $length=30, $dots = "...");

											
										?>
										<a style="color:; text-decoration: none;" href="https://Transcriber.wiki/?transcription=<? echo $totally_random_array[$key]['hash']; ?>">"<? echo $truncated_title; ?>"</a>
									</td>
									
									
									<!-- CHANNELS -->
									<td style="padding-left:25px; border-color: #DDDDDD; border-style: solid; border-width: 1px; width:33%; text-align: left; font-weight:500; font-size: 110%">
										<?
										
									
											
											
											$truncated_channel = truncate_title($string=$alphabetical_channels_array[$key]['channel_name'], $length=35, $dots = "...");
											//test("truncated_channel",$truncated_channel);

											
										?>
										<a style="color:; text-decoration: none;" href="https://channel.Transcriber.wiki/?name=<? echo $alphabetical_channels_array[$key]['channel_name']; ?>"><? echo $truncated_channel; ?></a>
									</td>
									
									
									
									
								</tr>
								
						<?
							
								
							}	
							
							
						?>
						
						
						
					</table>
					
					
					
					<?
						
						/////////////////////////////////////////////////////////////////////////////////
						/////////////////////////////////////////////////////////////////////////////////
						/////////////////////////////////////////////////////////////////////////////////
						/////////////////////////////////////////////////////////////////////////////////
						/// SHOW CHANNEL CONTENTS
						/////////////////////////////////////////////////////////////////////////////////
						} else {
							
							
							/// channel.Transcriber.wiki
							
							# if($incoming_vars['name']) {
							# 	
							# 	
							# 	///$channel_list_array = $channel_list_array_new; // set above
							# 
							# 					
							# } else { // legacy
							# 	
								/// "channel_name" is code for "hash" ;)
								//test("incoming_vars['channel_name']",$incoming_vars['channel_name']);
							$tmp_sql = "SELECT * FROM transcriptions 
										WHERE hash = '". $incoming_vars['channel_name'] ."'
										;";
							//test("tmp_sql",$tmp_sql);
							$tmp_transcription_details = object_2_array(readTHECASHIER($tmp_sql,"transcriptions"));
							//test("tmp_transcription_details",$tmp_transcription_details);
							
							/// fix the detour:
							$incoming_vars['channel_name'] = $tmp_transcription_details['channel_name'];
							
							
							/// GET LIST OF VIDEOS:
							$tmp_sql = "SELECT * FROM transcriptions 
										WHERE channel_name = '". $incoming_vars['channel_name'] ."'
										AND text != ''
										ORDER BY datetime_created DESC
										;";
							//test("tmp_sql",$tmp_sql);
							$channel_list_array = readarrayTHECASHIER($tmp_sql,"transcriptions");
							//test("channel_list_array",$channel_list_array);
							
							# }
		
							
							
							
							
							
							
					
					?>
					
					
				
					<table style="width:800px; font-size: 12px; border-collapse: collapse;">
						
						
						
						<tr>
							
						
							
							<td colspan='2' style="border-color: #DDDDDD; border-style: solid; border-width: 1px; width:100%; text-align: center; font-size: 18px; text-shadow: 2px 2px #CCCCCC; ">
								CHANNEL NAME: &nbsp;&nbsp; <b><span style="font-size: 32px;"><i><? 
									
									$display_channel_name = trim($incoming_vars['channel_name']); 
									if(!$display_channel_name) $display_channel_name = trim($incoming_vars['name']);
									
									echo ucwords(strtolower($display_channel_name));
									
									?></i></span></b>
							</td>
							
						
							
							
						</tr>
						
						
						<tr>
							
							<td style="width:150px; border-color: #DDDDDD; color:#CC0000; border-style: solid; border-width: 1px; text-align: center; text-shadow: 1px 1px #FFFFFF; font-size: 14px;">
								<b>PREVIEW:</b>
							</td>
							
							<td style="width:650px; border-color: #DDDDDD; color:#000000; border-style: solid; border-width: 1px;; text-align: left; text-shadow: 1px 1px #FFFFFF; font-size: 14px; padding-left: 15px;">
								<b><i>TITLE:</i></b>
								<br>
								<b>TEXT:</b>
							
								
							</td>
							
							
						</tr>
						
						
						<? 
							
							//$tmp_sql = "SELECT DISTINCT(channel_name) AS channel_name FROM transcriptions ORDER BY datetime_created DESC LIMIT 10;";
							
							
# 							$tmp_sql = "SELECT DISTINCT(hash),
#   ( SELECT DISTINCT(channel_name) ) AS b
# 
# FROM transcriptions
# ORDER BY datetime_created DESC LIMIT 10;";
# 






					
							
							foreach($channel_list_array as $key => $value) {
								
								//test("value",$value['youtube_video_id']);
								
								
								
								
								
								
								
						
						?>
								
								<tr>
							
									<td style="width:150px; padding-left:20px; padding-right:20px; padding-top:5px; border-color: #DDDDDD; border-style: solid; border-width: 1px; text-align: center; font-weight:500; vertical-align: top;">
										<?
										
									
											
											
											//$truncated_channel = truncate_title($string=$newest_channels_array[$key]['channel_name'], $length=35, $dots = "...");
											//test("truncated_channel",$truncated_channel);

											
										?>
										<a style="color:; text-decoration: none;" href="https://Transcriber.wiki/?transcription=<? echo $value['hash']; ?>">"<? echo $value['datetime_published']; ?>"</a>
										<br>
										<img src='https://img.youtube.com/vi/<? echo $value['youtube_video_id']; ?>/default.jpg'>
										
									
										
									</td>
									
									
									
									
									<td style="width:650px; padding-left:25px; border-color: #DDDDDD; border-style: solid; border-width: 1px; text-align: left; padding-top:5px; vertical-align: top; line-height: 20px; padding-top: 15px;padding-left: 20px; padding-right: 40px; padding-bottom: 15px;">
										
								
										
										<?
											
											
											
											$truncated_title = truncate_title($string=$value['title'], $length=35, $dots = "...");
											//test("truncated_title",$truncated_title);
											
										?>
										
										<b><i><a style="color:; font-size: 16px; text-decoration: none;" href="https://Transcriber.wiki/?transcription=<? echo $value['hash']; ?>">"<? echo $truncated_title; ?>"</a></i></b>
										<br>
									
																			
										<?
										
											$length_of_string = $value['text'];
											$length_of_string = strlen($length_of_string)*1.10;
											//test("length_of_string",$length_of_string);
											$precent_ramaining = number_format(((2000/$length_of_string)-1)*-100,0);
											if($precent_ramaining < 1) $precent_ramaining = 1;
											$precent_ramaining = $precent_ramaining . "%";
											$tmp_text_to_display = str_ireplace("<br>", "&nbsp;&nbsp;", $value['text']);
											$tmp_text_to_display = str_ireplace("%HESITATION", " ... ", $tmp_text_to_display);
											$truncated_text = truncate_title($string=$tmp_text_to_display, $length=2000, $dots = "...");

											
										?>
										<a style="color:; text-decoration: none;" href="https://Transcriber.wiki/?transcription=<? echo $value['hash']; ?>">"<? echo $truncated_text; ?>" + <? echo $precent_ramaining; ?></a>
									</td>
									
									
								</tr>
								
						<?
							
								
							}	
							
							
						?>
						
						
						
						
					</table>
					
					
					
					
					
					
					
					
					<?
						/////////////////////////////////////////////////////////////////////////////////
						/// END DIRECTORY
						/////////////////////////////////////////////////////////////////////////////////
						/////////////////////////////////////////////////////////////////////////////////
						/////////////////////////////////////////////////////////////////////////////////
						/////////////////////////////////////////////////////////////////////////////////

						}
					
					?>
					
				</center>
				
				
			</td>
		</tr>
		
					
			
			
			
			
			
			
			
			
			
			

		<tr>
			<td style="line-height: 0px;">
				
<center>
	<table style="width:100%;">
		<tr>
			<td style="text-align: left;">
				<button type='button' onclick='location.replace("https://Transcriber.wiki/search.nsdb?clear_session=please");'><b>Transcriber.wiki</b>&trade; (Start New Search)</button>
				</td>
			<td style="text-align: right;">
				<button type='button' onclick='location.replace("https://Transcriber.wiki/add_video.nsdb");'><b>Transcriber.wiki</b>&trade; (Add Your Videos)</button>
			</td>
		</tr>
	</table>
</center>

			<td>
		</tr>				











<tr>
			<td style="line-height: 20px;">
				<br>
			<hr>
			<hr>
			
	 
    
    
			<? 
				
				//test("_SESSION['template']['company']['domain']",$_SESSION['template']['company']['domain']);
				echo $disclaimer = disclaimer($company=$_SESSION['template']['company']['domain']);
				//test("disclaimer",$disclaimer);
			
			?>
		
		<span style="">
		<b>Example Scenarios ("Expectations"):</b><ul>
        
         <li>You are a semi/pro vlogger -- speaking directly into a high-quality microphone -- for 15 minutes:</li><ul>
            <li>Recording Device:  High-Quality Microphone</li>
            <li>Audio Description: <span style="color:#000000;"><b>"<u>very near and very clear</u>"</b></span></li>
            <li>Expect: <span style="color:#000000;"><b>~90% transcription accuracy</b></span>*</li>
        </ul>
        <br>
        <li>You interviewed "grandma" -- using your mobile device -- while seated at a small table:</li><ul>
            <li>Recording Device:  Mobile Phone</li>
            <li>Audio Description: <span style="color:#888888;"><b>"<u>near and clear</u>"</b></span></li>
            <li>Expect: <span style="color:#888888;"><b>~80% transcription accuracy</b></span>*</li>
        </ul>
		<br>
        <li>You recorded your professor (who was standing in the front of the class) -- using your mobile device -- while you were seated in the back of the classroom:</li><ul>
            <li>Recording Device:  Mobile Phone</li>
            <li>Audio Description: <span style="color:#CCCCCC;"><b>"<u>distant and hollow</u>"</b></span></li>
            <li>Expect: <span style="color:#CCCCCC;"><b>~70% transcription accuracy</b></span>*</li>
        </ul>
	
    </ul>
    </span>
    <span style="color:#888888; font-size: 12px;">* +60% is "sufficient" for search engines to find your content, and route users directly to your <b><i>auto-deep-linked</i></b> videos.</span>
								
		<hr>	
					
			<td>
		</tr>
						
				

    
	
    
    
    
    
 
 <!--
    
				</ul>
				<b><span style="color:#CC0000;"><span style="font-size: 110%; color:#000000;"><span style='color:#FFFFFF; background-color:#CC0000;'><b>Tube</b></span>-to-<i>Text!</i></span></b>&trade; Value to Business!</span></b>
				<ul span style="color:#CC0000;">
					<li>Transforms video into <b>"searchable"</b> content:</li>
					<ul span style="color:#CC0000;">
						<li>Make it easier to find information within video</li>
						<li>Massively <u>grows your search engine "footprint</u>"</li>
					</ul>
					
					<li>Viewers can scan through transcripts faster than viewing</li>
					<li>Print your transcripts for publishing</li>
					
				</ul>
				
				<b><span style="color:#CC0000;"><span style="font-size: 110%; color:#000000;"><span style='color:#FFFFFF; background-color:#CC0000;'><b>Tube</b></span>-to-<i>Text!</i></span></b>&trade; is <u>frequently</u> used by:</span></b>
				<ul span style="color:#888888;">
					<li>Business Presentations</li>
					<li>"v'loggers"</li>
					<li>Lectures</li>
					<li>Video Conference Calls</li>
					<li>Etc...</li>
				</ul>
				</span>
				
				-->
							
	
		
	</table>
</center>

</form>

<!--
<br>
<center>
<span style="color:#000000; font-size:22px;">
Sponsored by: &nbsp; <b>Jackpot.com</b> (<u>buy global lottery tickets</u> <b><i>from the comfort of your home</i></b>):
</span>
-->
<?
	if($display_ads == TRUE) {
		echo $sponsor_banner_to_display;
	}
?>
</center>	




<center>
	<table style="width:90%;">
		<tr>
			<td style="text-align: left;">
				<button type='button' onclick='location.replace("https://Transcriber.wiki/search.nsdb?clear_session=please");'><b>Transcriber.wiki</b>&trade; (Start New Search)</button>
				</td>
			<td style="text-align: right;">
				<button type='button' onclick='location.replace("https://Transcriber.wiki/add_video.nsdb");'><b>Transcriber.wiki</b>&trade; (Add Your Videos)</button>
			</td>
		</tr>
	</table>
</center>

<hr>
<hr>
<!--
<span style="font-size:12px;">*<a href='https://twitter.com/trishadishes?lang=en' target='_WINK' style="text-decoration: none;">follow</a> <a href='https://www.youtube.com/channel/UC8Cl9QaRtuW9CNjP7pP4BBQ' target='_WINK' style="text-decoration: none;">the</a> <a href='https://www.youtube.com/user/georgwebb' target='_WINK' style="text-decoration: none;">meta-data</a>... </span>
-->
<br>
<br>
</body>
</html>  
