diff --git a/upload/actions/file_uploader.php b/upload/actions/file_uploader.php index b7fbd06a..557d7e64 100644 --- a/upload/actions/file_uploader.php +++ b/upload/actions/file_uploader.php @@ -105,18 +105,21 @@ switch($mode) $vidDetails = array ( - 'title' => $title, - 'description' => $desc, - 'tags' => $tags, - 'category' => array($cbvid->get_default_cid()), + 'title' => $title, + 'description' => $desc, + 'tags' => $tags, + 'category' => array($cbvid->get_default_cid()), ); assign("objId",$_POST['objId']); + assign('input',$vidDetails); + $vid = $_POST['vid']; assign('videoid',$vid); + $videoFields = $Upload->load_video_fields($vidDetails); //$requiredFields = array_shift($videoFields); // echo "
";
@@ -199,14 +202,14 @@ switch($mode)
 		
 		//Checking uploading errors
 		$uploadErrors = array(
-			0=>"There is no error, the file uploaded with success",
-			1=>"The uploaded file exceeds the upload_max_filesize directive in php.ini",
-			2=>"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form",
-			3=>"The uploaded file was only partially uploaded",
-			4=>"No file was uploaded",
-			6=>"Missing a temporary folder",
-			7=>"Failed to write file to disk",
-			8=>"A PHP extension stopped the file upload. PHP does not provide a way to ascertain which extension caused the file upload to stop; examining the list of loaded extensions with phpinfo() may help"
+        0=>"There is no error, the file uploaded with success",
+        1=>"The uploaded file exceeds the upload_max_filesize directive in php.ini",
+        2=>"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form",
+        3=>"The uploaded file was only partially uploaded",
+        4=>"No file was uploaded",
+        6=>"Missing a temporary folder",
+        7=>"Failed to write file to disk",
+        8=>"A PHP extension stopped the file upload. PHP does not provide a way to ascertain which extension caused the file upload to stop; examining the list of loaded extensions with phpinfo() may help"
 		);
 		if (!isset($_FILES['Filedata'])) {
 			upload_error("No file was selected");
@@ -342,9 +345,9 @@ switch($mode)
 		}
 
 		$_POST['videoid'] = trim($_POST['videoid']);
-		$_POST['title'] = mysql_clean($_POST['title']);
-		$_POST['description'] = mysql_clean($_POST['description']);
-		$_POST['duration'] = mysql_clean($_POST['duration']);
+		$_POST['title'] = addslashes($_POST['title']);
+		$_POST['description'] = addslashes($_POST['description']);
+		$_POST['duration'] = addslashes($_POST['duration']);
 
 		if(empty($eh->error_list))
 		{
diff --git a/upload/actions/video_convert.php b/upload/actions/video_convert.php
index 72d3ccf6..56aed2f8 100644
--- a/upload/actions/video_convert.php
+++ b/upload/actions/video_convert.php
@@ -60,8 +60,8 @@
 	else{
 		$fileDir = $file_directory;
 	}
-	$dateAdded = explode(" ", $fileDir);
-	$dateAdded = array_shift($dateAdded);
+	$dateAdded 	= explode(" ", $fileDir);
+	$dateAdded 	= array_shift($dateAdded);
 	$file_directory = implode("/", explode("-", $dateAdded));
 	//logData($fileDir);
 
@@ -69,14 +69,14 @@
 		Getting the file information from the queue for conversion
 	*/
 
-	$tmp_file = $queue_details['cqueue_name'];
-	$tmp_ext  = $queue_details['cqueue_tmp_ext'];
-	$ext 	  = $queue_details['cqueue_ext'];
+	$tmp_file 	= $queue_details['cqueue_name'];
+	$tmp_ext 	=  $queue_details['cqueue_tmp_ext'];
+	$ext 		=  $queue_details['cqueue_ext'];
 	$outputFileName = $tmp_file;
 	if(!empty($tmp_file)){
 
-	$temp_file = TEMP_DIR.'/'.$tmp_file.'.'.$tmp_ext;
-	$orig_file = CON_DIR.'/'.$tmp_file.'.'.$ext;
+	$temp_file 	= TEMP_DIR.'/'.$tmp_file.'.'.$tmp_ext;
+	$orig_file 	= CON_DIR.'/'.$tmp_file.'.'.$ext;
 
 	/*
 		Delete the uploaded file from temp directory 
diff --git a/upload/admin_area/mass_uploader.php b/upload/admin_area/mass_uploader.php
index 16527ca8..643d4299 100644
--- a/upload/admin_area/mass_uploader.php
+++ b/upload/admin_area/mass_uploader.php
@@ -41,7 +41,7 @@ if(isset($_POST['mass_upload_video']))
 	$total = count($_POST['mass_up']);
 	for($i=0;$i<$total;$i++)
 	{
-		if( !isset($_POST['filesToImport_'.$i]) ) // Check if file is checked for import
+		if( !isset($_POST['filesToImport'][$i]) ) // Check if file is checked for import
 			continue;
 
 		$file_key = time().RandomString(5);
diff --git a/upload/admin_area/styles/cb_2014/layout/global_header.html b/upload/admin_area/styles/cb_2014/layout/global_header.html
index 401e9f41..d15f5a3e 100644
--- a/upload/admin_area/styles/cb_2014/layout/global_header.html
+++ b/upload/admin_area/styles/cb_2014/layout/global_header.html
@@ -91,7 +91,6 @@
 
     $(document).ready(function() {
         $('#desc').summernote();
-        $('.desc').summernote();
     });
 
     $(function()
diff --git a/upload/admin_area/styles/cb_2014/layout/mass_uploader.html b/upload/admin_area/styles/cb_2014/layout/mass_uploader.html
index e55bf6d5..f65bfc2c 100644
--- a/upload/admin_area/styles/cb_2014/layout/mass_uploader.html
+++ b/upload/admin_area/styles/cb_2014/layout/mass_uploader.html
@@ -13,13 +13,12 @@
 
 

Mass Category Selection

- {foreach $cats as $cat} + {foreach $cats as $cat} {$i = $i+1} {/foreach}
- {assign var = i value = 0} {foreach from=$vid_files item=file name=mass_files} {assign var='requiredFields' value=$Upload->loadRequiredFields($file)} {assign var='optionFields' value=$Upload->loadOptionFields($file)} @@ -28,9 +27,9 @@
- + {$file.title}{$smarty.foreach.mass_files} -
+
{foreach from=$requiredFields item=field} {$field.class='form-control'} {if $field.title=='Title'} @@ -42,6 +41,7 @@ {/if} {/foreach} {foreach from=$requiredFields item=field} + {$field.class='form-control'} {if $field.title=='Description'}
@@ -75,7 +75,7 @@
- {$i = $i+1} + {/foreach}
diff --git a/upload/cb_install/clipbucket.php b/upload/cb_install/clipbucket.php index 4b406127..29fbf415 100644 --- a/upload/cb_install/clipbucket.php +++ b/upload/cb_install/clipbucket.php @@ -1,16 +1,19 @@ \ No newline at end of file diff --git a/upload/cb_install/sql/upgrade_2.8.2.sql b/upload/cb_install/sql/upgrade_2.8.2.sql index 74109132..ddea59a0 100644 --- a/upload/cb_install/sql/upgrade_2.8.2.sql +++ b/upload/cb_install/sql/upgrade_2.8.2.sql @@ -3,281 +3,4 @@ INSERT INTO `{tbl_prefix}config` (`configid`, `name`, `value`) VALUES (NULL, 'st INSERT INTO `{tbl_prefix}config` (`configid`, `name`, `value`) VALUES (NULL, 'pseudostreaming', 'yes'); ALTER TABLE `{tbl_prefix}video` ADD `re_conv_status` text(33) NOT NULL; -#ALTER TABLE `{tbl_prefix}video` ADD `conv_progress` int(33) NOT NULL; - -UPDATE `{tbl_prefix}action_log` SET action_type = convert(cast(convert(action_type using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}action_log` SET action_username = convert(cast(convert(action_username using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}action_log` SET action_useremail = convert(cast(convert(action_useremail using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}action_log` SET action_ip = convert(cast(convert(action_ip using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}action_log` SET action_details = convert(cast(convert(action_details using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}admin_notes` SET note = convert(cast(convert(note using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}admin_todo` SET todo = convert(cast(convert(todo using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}ads_data` SET ad_name = convert(cast(convert(ad_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}ads_data` SET ad_code = convert(cast(convert(ad_code using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}ads_data` SET ad_placement = convert(cast(convert(ad_placement using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}ads_placements` SET placement = convert(cast(convert(placement using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}ads_placements` SET placement_name = convert(cast(convert(placement_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collection_categories` SET category_name = convert(cast(convert(category_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collection_categories` SET category_desc = convert(cast(convert(category_desc using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collection_categories` SET date_added = convert(cast(convert(date_added using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collection_items` SET type = convert(cast(convert(type using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collections` SET collection_name = convert(cast(convert(collection_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collections` SET collection_description = convert(cast(convert(collection_description using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collections` SET collection_tags = convert(cast(convert(collection_tags using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collections` SET category = convert(cast(convert(category using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collections` SET featured = convert(cast(convert(featured using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collections` SET broadcast = convert(cast(convert(broadcast using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collections` SET allow_comments = convert(cast(convert(allow_comments using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collections` SET active = convert(cast(convert(active using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collections` SET public_upload = convert(cast(convert(public_upload using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}collections` SET type = convert(cast(convert(type using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}comments` SET type = convert(cast(convert(type using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}comments` SET comment = convert(cast(convert(comment using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}comments` SET anonym_name = convert(cast(convert(anonym_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}comments` SET anonym_email = convert(cast(convert(anonym_email using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}comments` SET vote = convert(cast(convert(vote using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}comments` SET voters = convert(cast(convert(voters using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}comments` SET spam_voters = convert(cast(convert(spam_voters using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}comments` SET comment_ip = convert(cast(convert(comment_ip using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}config` SET name = convert(cast(convert(name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}config` SET value = convert(cast(convert(value using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}conversion_queue` SET cqueue_name = convert(cast(convert(cqueue_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}conversion_queue` SET cqueue_ext = convert(cast(convert(cqueue_ext using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}conversion_queue` SET cqueue_tmp_ext = convert(cast(convert(cqueue_tmp_ext using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}conversion_queue` SET time_started = convert(cast(convert(time_started using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}conversion_queue` SET time_completed = convert(cast(convert(time_completed using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}counters` SET section = convert(cast(convert(section using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}counters` SET query = convert(cast(convert(query using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}counters` SET query_md5 = convert(cast(convert(query_md5 using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}counters` SET date_added = convert(cast(convert(date_added using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}countries` SET iso2 = convert(cast(convert(iso2 using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}countries` SET name = convert(cast(convert(name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}countries` SET name_en = convert(cast(convert(name_en using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}countries` SET iso3 = convert(cast(convert(iso3 using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}email_templates` SET email_template_name = convert(cast(convert(email_template_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}email_templates` SET email_template_code = convert(cast(convert(email_template_code using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}email_templates` SET email_template_subject = convert(cast(convert(email_template_subject using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}email_templates` SET email_template = convert(cast(convert(email_template using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}email_templates` SET email_template_allowed_tags = convert(cast(convert(email_template_allowed_tags using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}favorites` SET type = convert(cast(convert(type using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}flags` SET type = convert(cast(convert(type using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}group_categories` SET category_name = convert(cast(convert(category_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}group_categories` SET category_desc = convert(cast(convert(category_desc using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}group_categories` SET date_added = convert(cast(convert(date_added using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}group_categories` SET category_thumb = convert(cast(convert(category_thumb using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}group_posts` SET post_content = convert(cast(convert(post_content using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}group_topics` SET topic_title = convert(cast(convert(topic_title using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}group_topics` SET topic_post = convert(cast(convert(topic_post using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}group_topics` SET topic_icon = convert(cast(convert(topic_icon using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}groups` SET group_name = convert(cast(convert(group_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}groups` SET group_admins = convert(cast(convert(group_admins using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}groups` SET group_description = convert(cast(convert(group_description using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}groups` SET group_tags = convert(cast(convert(group_tags using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}groups` SET group_url = convert(cast(convert(group_url using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}groups` SET category = convert(cast(convert(category using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}languages` SET language_code = convert(cast(convert(language_code using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}languages` SET language_name = convert(cast(convert(language_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}languages` SET language_regex = convert(cast(convert(language_regex using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}mass_emails` SET email_subj = convert(cast(convert(email_subj using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}mass_emails` SET email_from = convert(cast(convert(email_from using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}mass_emails` SET email_msg = convert(cast(convert(email_msg using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}mass_emails` SET configs = convert(cast(convert(configs using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}mass_emails` SET users = convert(cast(convert(users using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}messages` SET message_to = convert(cast(convert(message_to using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}messages` SET message_content = convert(cast(convert(message_content using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}messages` SET message_attachments = convert(cast(convert(message_attachments using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}messages` SET message_subject = convert(cast(convert(message_subject using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}modules` SET module_name = convert(cast(convert(module_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}modules` SET module_file = convert(cast(convert(module_file using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}modules` SET active = convert(cast(convert(active using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}modules` SET module_include_file = convert(cast(convert(module_include_file using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}pages` SET page_name = convert(cast(convert(page_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}pages` SET page_title = convert(cast(convert(page_title using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}pages` SET page_content = convert(cast(convert(page_content using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}photos` SET photo_key = convert(cast(convert(photo_key using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}photos` SET photo_title = convert(cast(convert(photo_title using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}photos` SET photo_description = convert(cast(convert(photo_description using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}photos` SET photo_tags = convert(cast(convert(photo_tags using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}photos` SET voters = convert(cast(convert(voters using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}photos` SET filename = convert(cast(convert(filename using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}photos` SET file_directory = convert(cast(convert(file_directory using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}photos` SET ext = convert(cast(convert(ext using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}photos` SET server_url = convert(cast(convert(server_url using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}photos` SET owner_ip = convert(cast(convert(owner_ip using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}photos` SET photo_details = convert(cast(convert(photo_details using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}phrases` SET lang_iso = convert(cast(convert(lang_iso using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}phrases` SET varname = convert(cast(convert(varname using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}phrases` SET text = convert(cast(convert(text using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}playlist_items` SET playlist_item_type = convert(cast(convert(playlist_item_type using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}playlists` SET playlist_name = convert(cast(convert(playlist_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}playlists` SET playlist_type = convert(cast(convert(playlist_type using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}playlists` SET description = convert(cast(convert(description using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}playlists` SET tags = convert(cast(convert(tags using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}playlists` SET voters = convert(cast(convert(voters using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}playlists` SET last_update = convert(cast(convert(last_update using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}playlists` SET first_item = convert(cast(convert(first_item using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}playlists` SET cover = convert(cast(convert(cover using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}plugin_config` SET plugin_id_code = convert(cast(convert(plugin_id_code using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}plugin_config` SET plugin_config_name = convert(cast(convert(plugin_config_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}plugin_config` SET plugin_config_value = convert(cast(convert(plugin_config_value using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}plugin_config` SET player_admin_file = convert(cast(convert(player_admin_file using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}plugin_config` SET player_include_file = convert(cast(convert(player_include_file using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}plugins` SET plugin_file = convert(cast(convert(plugin_file using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}plugins` SET plugin_folder = convert(cast(convert(plugin_folder using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}plugins` SET plugin_license_type = convert(cast(convert(plugin_license_type using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}plugins` SET plugin_license_key = convert(cast(convert(plugin_license_key using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}plugins` SET plugin_license_code = convert(cast(convert(plugin_license_code using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}sessions` SET session = convert(cast(convert(session using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}sessions` SET session_string = convert(cast(convert(session_string using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}sessions` SET session_value = convert(cast(convert(session_value using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}sessions` SET ip = convert(cast(convert(ip using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}sessions` SET current_page = convert(cast(convert(current_page using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}sessions` SET referer = convert(cast(convert(referer using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}sessions` SET agent = convert(cast(convert(agent using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}stats` SET video_stats = convert(cast(convert(video_stats using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}stats` SET user_stats = convert(cast(convert(user_stats using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}stats` SET group_stats = convert(cast(convert(group_stats using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}subscriptions` SET subscribed_to = convert(cast(convert(subscribed_to using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}template` SET template_name = convert(cast(convert(template_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}template` SET template_dir = convert(cast(convert(template_dir using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_categories` SET category_name = convert(cast(convert(category_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_categories` SET category_desc = convert(cast(convert(category_desc using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_categories` SET date_added = convert(cast(convert(date_added using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_categories` SET category_thumb = convert(cast(convert(category_thumb using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_levels` SET user_level_name = convert(cast(convert(user_level_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_levels_permissions` SET plugins_perms = convert(cast(convert(plugins_perms using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_permission_types` SET user_permission_type_name = convert(cast(convert(user_permission_type_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_permission_types` SET user_permission_type_desc = convert(cast(convert(user_permission_type_desc using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_permissions` SET permission_name = convert(cast(convert(permission_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_permissions` SET permission_code = convert(cast(convert(permission_code using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_permissions` SET permission_desc = convert(cast(convert(permission_desc using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET profile_title = convert(cast(convert(profile_title using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET profile_desc = convert(cast(convert(profile_desc using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET featured_video = convert(cast(convert(featured_video using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET first_name = convert(cast(convert(first_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET last_name = convert(cast(convert(last_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET avatar = convert(cast(convert(avatar using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET postal_code = convert(cast(convert(postal_code using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET profile_tags = convert(cast(convert(profile_tags using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET web_url = convert(cast(convert(web_url using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET hometown = convert(cast(convert(hometown using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET city = convert(cast(convert(city using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET browse_criteria = convert(cast(convert(browse_criteria using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET about_me = convert(cast(convert(about_me using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET education = convert(cast(convert(education using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET schools = convert(cast(convert(schools using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET occupation = convert(cast(convert(occupation using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET companies = convert(cast(convert(companies using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET relation_status = convert(cast(convert(relation_status using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET hobbies = convert(cast(convert(hobbies using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET fav_movies = convert(cast(convert(fav_movies using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET fav_music = convert(cast(convert(fav_music using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET fav_books = convert(cast(convert(fav_books using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET background = convert(cast(convert(background using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET profile_item = convert(cast(convert(profile_item using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}user_profile` SET voters = convert(cast(convert(voters using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET featured_video = convert(cast(convert(featured_video using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET username = convert(cast(convert(username using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET user_session_key = convert(cast(convert(user_session_key using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET password = convert(cast(convert(password using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET email = convert(cast(convert(email using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET avatar = convert(cast(convert(avatar using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET avatar_url = convert(cast(convert(avatar_url using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET country = convert(cast(convert(country using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET avcode = convert(cast(convert(avcode using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET session = convert(cast(convert(session using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET ip = convert(cast(convert(ip using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET signup_ip = convert(cast(convert(signup_ip using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET upload = convert(cast(convert(upload using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET background = convert(cast(convert(background using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET background_color = convert(cast(convert(background_color using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET background_url = convert(cast(convert(background_url using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}users` SET banned_users = convert(cast(convert(banned_users using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}validation_re` SET re_name = convert(cast(convert(re_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}validation_re` SET re_code = convert(cast(convert(re_code using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}validation_re` SET re_syntax = convert(cast(convert(re_syntax using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET videokey = convert(cast(convert(videokey using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET video_password = convert(cast(convert(video_password using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET video_users = convert(cast(convert(video_users using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET username = convert(cast(convert(username using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET title = convert(cast(convert(title using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET flv = convert(cast(convert(flv using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET file_name = convert(cast(convert(file_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET file_directory = convert(cast(convert(file_directory using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET description = convert(cast(convert(description using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET tags = convert(cast(convert(tags using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET category = convert(cast(convert(category using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET category_parents = convert(cast(convert(category_parents using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET broadcast = convert(cast(convert(broadcast using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET location = convert(cast(convert(location using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET country = convert(cast(convert(country using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET allow_embedding = convert(cast(convert(allow_embedding using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET rated_by = convert(cast(convert(rated_by using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET voter_ids = convert(cast(convert(voter_ids using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET allow_comments = convert(cast(convert(allow_comments using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET comment_voting = convert(cast(convert(comment_voting using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET featured = convert(cast(convert(featured using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET featured_description = convert(cast(convert(featured_description using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET allow_rating = convert(cast(convert(allow_rating using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET active = convert(cast(convert(active using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET favourite_count = convert(cast(convert(favourite_count using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET playlist_count = convert(cast(convert(playlist_count using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET flagged = convert(cast(convert(flagged using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET duration = convert(cast(convert(duration using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET flv_file_url = convert(cast(convert(flv_file_url using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET aspect_ratio = convert(cast(convert(aspect_ratio using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET embed_code = convert(cast(convert(embed_code using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET refer_url = convert(cast(convert(refer_url using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET uploader_ip = convert(cast(convert(uploader_ip using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET unique_embed_code = convert(cast(convert(unique_embed_code using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET remote_play_url = convert(cast(convert(remote_play_url using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET server_ip = convert(cast(convert(server_ip using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET file_server_path = convert(cast(convert(file_server_path using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET files_thumbs_path = convert(cast(convert(files_thumbs_path using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET file_thumbs_count = convert(cast(convert(file_thumbs_count using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET filegrp_size = convert(cast(convert(filegrp_size using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET video_version = convert(cast(convert(video_version using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET extras = convert(cast(convert(extras using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video` SET thumbs_version = convert(cast(convert(thumbs_version using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_categories` SET category_name = convert(cast(convert(category_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_categories` SET category_desc = convert(cast(convert(category_desc using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_categories` SET date_added = convert(cast(convert(date_added using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_categories` SET category_thumb = convert(cast(convert(category_thumb using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET file_conversion_log = convert(cast(convert(file_conversion_log using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET encoder = convert(cast(convert(encoder using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET command_used = convert(cast(convert(command_used using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_path = convert(cast(convert(src_path using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_name = convert(cast(convert(src_name using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_ext = convert(cast(convert(src_ext using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_format = convert(cast(convert(src_format using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_duration = convert(cast(convert(src_duration using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_size = convert(cast(convert(src_size using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_bitrate = convert(cast(convert(src_bitrate using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_video_width = convert(cast(convert(src_video_width using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_video_height = convert(cast(convert(src_video_height using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_video_wh_ratio = convert(cast(convert(src_video_wh_ratio using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_video_codec = convert(cast(convert(src_video_codec using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_video_rate = convert(cast(convert(src_video_rate using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_video_bitrate = convert(cast(convert(src_video_bitrate using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_video_color = convert(cast(convert(src_video_color using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_audio_codec = convert(cast(convert(src_audio_codec using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_audio_bitrate = convert(cast(convert(src_audio_bitrate using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_audio_rate = convert(cast(convert(src_audio_rate using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET src_audio_channels = convert(cast(convert(src_audio_channels using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_path = convert(cast(convert(output_path using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_format = convert(cast(convert(output_format using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_duration = convert(cast(convert(output_duration using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_size = convert(cast(convert(output_size using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_bitrate = convert(cast(convert(output_bitrate using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_video_width = convert(cast(convert(output_video_width using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_video_height = convert(cast(convert(output_video_height using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_video_wh_ratio = convert(cast(convert(output_video_wh_ratio using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_video_codec = convert(cast(convert(output_video_codec using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_video_rate = convert(cast(convert(output_video_rate using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_video_bitrate = convert(cast(convert(output_video_bitrate using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_video_color = convert(cast(convert(output_video_color using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_audio_codec = convert(cast(convert(output_audio_codec using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_audio_bitrate = convert(cast(convert(output_audio_bitrate using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_audio_rate = convert(cast(convert(output_audio_rate using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_files` SET output_audio_channels = convert(cast(convert(output_audio_channels using latin1) as binary) using utf8); -UPDATE `{tbl_prefix}video_views` SET video_id = convert(cast(convert(video_id using latin1) as binary) using utf8); +#ALTER TABLE `{tbl_prefix}video` ADD `conv_progress` int(33) NOT NULL; \ No newline at end of file diff --git a/upload/includes/classes/ClipBucket.class.php b/upload/includes/classes/ClipBucket.class.php index 3908a468..6d9b72e0 100644 --- a/upload/includes/classes/ClipBucket.class.php +++ b/upload/includes/classes/ClipBucket.class.php @@ -527,7 +527,7 @@ class ClipBucket $this->head_menu[] = array('name' => lang("photos"), 'icon' => '','link' => cblink(array('name' => 'photos')), "this" => "photos"); $this->head_menu[] = array('name' => lang("menu_channels"),'icon' => '', 'link' => cblink(array('name' => 'channels')), "this" => "channels", "section" => "channels"); $this->head_menu[] = array('name' => lang("collections"), 'icon' => '', 'link' => cblink(array('name' => 'collections')), "this" => "collections", "section" => "collections"); - $this->head_menu[] = array('name' => lang("groups"), 'icon' => '', 'link' => cblink(array('name' => 'groups')), "this" => "groups", "section" => "groups"); + $this->head_menu[] = array('name' => lang("Groups"), 'icon' => '', 'link' => cblink(array('name' => 'groups')), "this" => "groups", "section" => "groups"); /* Calling custom functions for headMenu. This can be used to add new tabs */ //cb_call_functions('headMenu'); diff --git a/upload/includes/classes/collections.class.php b/upload/includes/classes/collections.class.php index 131f01ae..896cbb91 100644 --- a/upload/includes/classes/collections.class.php +++ b/upload/includes/classes/collections.class.php @@ -46,11 +46,11 @@ class Collections extends CBCategory $this->section_tbl = "collections"; $this->types = array(); if (isSectionEnabled('videos')) { - $this->types['videos'] = lang("videos"); + $this->types['videos'] = lang("Videos"); } if (isSectionEnabled('photos')) { - $this->types['photos'] = lang("photos"); + $this->types['photos'] = lang("Photos"); } ksort($this->types); @@ -89,10 +89,10 @@ class Collections extends CBCategory // Adding My Account Links if(isSectionEnabled('collections')) $userquery->user_account[lang('collections')] = array( - lang('add_new_collection') => cblink(array('name'=>'manage_collections','extra_params'=>'mode=add_new')), - lang('manage_collections') => cblink(array('name'=>'manage_collections')), - lang('manage_favorite_collections') => cblink(array('name'=>'manage_collections','extra_params'=>'mode=favorite')) - ); + lang('add_new_collection') => cblink(array('name'=>'manage_collections','extra_params'=>'mode=add_new')), + lang('manage_collections') => cblink(array('name'=>'manage_collections')), + lang('manage_favorite_collections') => cblink(array('name'=>'manage_collections','extra_params'=>'mode=favorite')) + ); // Adding Search Type //if(isSectionEnabled('collections')) @@ -101,30 +101,22 @@ class Collections extends CBCategory // Adding Collection links in Admin Area if($per['collection_moderation'] == "yes") $Cbucket->AdminMenu['Collections'] = array( - lang('manage_collections') =>'collection_manager.php', - lang('manage_categories') =>'collection_category.php', - lang('flagged_collections') =>'flagged_collections.php' - ); + lang('Manage Collections')=>'collection_manager.php', + lang('Manage Categories')=>'collection_category.php', + lang('Flagged Collections')=>'flagged_collections.php'); + // Adding Collection links in Cbucket Class - $Cbucket->links['collections'] = array('collections.php','collections/'); - $Cbucket->links['manage_collections'] = array('manage_collections.php','manage_collections.php'); - $Cbucket->links['edit_collection'] = array( - 'manage_collections.php?mode=edit_collection&cid=', - 'manage_collections.php?mode=edit_collection&cid=' - ); - $Cbucket->links['manage_items'] = array( - 'manage_collections.php?mode=manage_items&cid=%s&type=%s', - 'manage_collections.php?mode=manage_items&cid=%s&type=%s' - ); - $Cbucket->links['user_collections'] = array( - 'user_collections.php?mode=uploaded&user=', - 'user_collections.php?mode=uploaded&user=' - ); - $Cbucket->links['user_fav_collections'] = array( - 'user_collections.php?mode=favorite&user=', - 'user_collections.php?mode=favorite&user=' - ); + $Cbucket->links['collections'] = array('collections.php','collections/'); + $Cbucket->links['manage_collections'] = array('manage_collections.php','manage_collections.php'); + $Cbucket->links['edit_collection'] = array('manage_collections.php?mode=edit_collection&cid=', + 'manage_collections.php?mode=edit_collection&cid='); + $Cbucket->links['manage_items'] = array('manage_collections.php?mode=manage_items&cid=%s&type=%s', + 'manage_collections.php?mode=manage_items&cid=%s&type=%s'); + $Cbucket->links['user_collections'] = array('user_collections.php?mode=uploaded&user=','user_collections.php?mode=uploaded&user='); + $Cbucket->links['user_fav_collections'] = array('user_collections.php?mode=favorite&user=','user_collections.php?mode=favorite&user='); + + } /** @@ -145,19 +137,19 @@ class Collections extends CBCategory $this->search->template_var = 'collection'; $this->search->has_user_id = true; - $sorting = array( - 'date_added' => lang("date_added"), - 'views' => lang("views"), - 'total_comments'=> lang("comments"), - 'total_objects' => lang("Items") - ); + $sorting = array( + 'date_added'=> lang("date_added"), + 'views' => lang("views"), + 'total_comments' => lang("comments"), + 'total_objects' => lang("Items") + ); $this->search->sorting = array( - 'date_added' => " date_added DESC", - 'views' => " views DESC", - 'total_comments'=> " total_comments DESC ", - 'total_objects' => " total_objects DESC" - ); + 'date_added'=> " date_added DESC", + 'views' => " views DESC", + 'total_comments' => " total_comments DESC ", + 'total_objects' => " total_objects DESC" + ); $default = $_GET; if(is_array($default['category'])) @@ -169,36 +161,36 @@ class Collections extends CBCategory $this->search->results_per_page = config('videos_items_search_page'); $fields = array( - 'query' => array( - 'title'=> lang('keywords'), - 'type'=> 'textfield', - 'name'=> 'query', - 'id'=> 'query', - 'value'=>cleanForm($default['query']) - ), - 'category' => array( - 'title' => lang('category'), - 'type' => 'checkbox', - 'name' => 'category[]', - 'id' => 'category', - 'value' => array('category',$cat_array), - 'category_type' => 'collections' - ), - 'uploaded' => array( - 'title' => lang('uploaded'), - 'type' => 'dropdown', - 'name' => 'datemargin', - 'id' => 'datemargin', - 'value' => $this->search->date_margins(), - 'checked' => $uploaded, - ), - 'sort' => array( - 'title' => lang('sort_by'), - 'type' => 'dropdown', - 'name' => 'sort', - 'value' => $sorting, - 'checked' => $sort - ) + 'query' => array( + 'title'=> lang('keywords'), + 'type'=> 'textfield', + 'name'=> 'query', + 'id'=> 'query', + 'value'=>cleanForm($default['query']) + ), + 'category' => array( + 'title' => lang('category'), + 'type' => 'checkbox', + 'name' => 'category[]', + 'id' => 'category', + 'value' => array('category',$cat_array), + 'category_type' => 'collections' + ), + 'uploaded' => array( + 'title' => lang('uploaded'), + 'type' => 'dropdown', + 'name' => 'datemargin', + 'id' => 'datemargin', + 'value' => $this->search->date_margins(), + 'checked' => $uploaded, + ), + 'sort' => array( + 'title' => lang('sort_by'), + 'type' => 'dropdown', + 'name' => 'sort', + 'value' => $sorting, + 'checked' => $sort + ) ); $this->search->search_type['collections']['fields'] = $fields; @@ -230,7 +222,8 @@ class Collections extends CBCategory $result = $db->count(tbl($this->section_tbl),"collection_id"," collection_id = $id"); if($result) return true; - return false; + else + return false; } /** @@ -259,7 +252,8 @@ class Collections extends CBCategory //pex($result,true); if($result) return $result[0]; - return false; + else + return false; } function is_viewable($cid) @@ -275,14 +269,16 @@ class Collections extends CBCategory e(lang('collection_not_active')); if(!has_access('admin_access',TRUE)) return false; - return true; + else + return true; } elseif($c['broadcast'] == 'private' && !$userquery->is_confirmed_friend($c['userid'],userid()) && $c['userid']!=userid() && !has_access('admin_access',TRUE)) { e(lang('collection_is_private')); return false; + } else { + return true; } - return true; } /** @@ -358,6 +354,7 @@ class Collections extends CBCategory $cond .= " AND "; $cond .= " ".tbl('collections.type')." = '".$p['type']."'"; } + if(isset($p['user'])) { @@ -368,7 +365,8 @@ class Collections extends CBCategory $cond .= " ".tbl('collections.userid')." = '".$p['user']."'"; //$cond .=')'; } - + + if(isset($p['featured'])) { if($cond != '') @@ -385,6 +383,7 @@ class Collections extends CBCategory $cond .= " ".tbl('collections.public_upload')." = '".$p['public_upload']."'"; if($brace) $cond.=")"; + } if(isset($p['exclude'])) @@ -463,8 +462,9 @@ class Collections extends CBCategory $result = $db->select(tbl("collections,users"), tbl("collections.*,users.userid,users.username"), $cond.tbl("collections.userid")." = ".tbl("users.userid"),$limit,$order); - - //echo $db->db_query; + + //echo $db->db_query; + } @@ -491,7 +491,8 @@ class Collections extends CBCategory $result = $db->select(tbl($this->items),"*"," collection_id = $id",$limit,$order); if($result) return $result; - return false; + else + return false; } /** @@ -551,7 +552,9 @@ class Collections extends CBCategory //echo $db->db_query; if($result) return $result; - return false; + else + return false; + } /** @@ -586,8 +589,11 @@ class Collections extends CBCategory } if($result) - return $result; - return false; + { + return $result; + } + else + return false; } /** @@ -600,7 +606,8 @@ class Collections extends CBCategory $result = $db->select(tbl($this->items),$fields," object_id = $objID AND collection_id = $cid"); if($result) return $result; - return false; + else + return false; } /** @@ -971,7 +978,8 @@ class Collections extends CBCategory $result = $db->select(tbl($this->section_tbl.",users"),tbl($this->section_tbl).".*,$user_tbl.userid,$user_tbl.username"," collection_id = $cid AND ".tbl($this->section_tbl).".userid = $user_tbl.userid"); if($db->num_rows > 0) return $result[0]['userid']; - return false; + else + return false; } /** @@ -1072,7 +1080,8 @@ class Collections extends CBCategory if($details['userid'] == $userid) return true; - return false; + else + return false; } /** @@ -1122,7 +1131,7 @@ class Collections extends CBCategory { global $db; $cid = mysql_clean($cid); - $collection = $this->get_collection($cid); + $collection = $this->get_collection($id); if(!$collection) e(lang("collection_not_exists")); elseif($collection['userid'] != userid() && !has_access('admin_access',true)) @@ -1173,7 +1182,8 @@ class Collections extends CBCategory $count = $db->count($this->items,"ci_id"," collection_id = $cid"); if($count) return $count; - return 0; + else + return 0; } /** @@ -1400,13 +1410,15 @@ class Collections extends CBCategory if($thumb) return $thumb; - - foreach($exts as $ext) + else { - if($size=="small") - $s = "-small"; - if(file_exists(COLLECT_THUMBS_DIR."/".$cid.$s.".".$ext)) - return COLLECT_THUMBS_URL."/".$cid.$s.".".$ext; + foreach($exts as $ext) + { + if($size=="small") + $s = "-small"; + if(file_exists(COLLECT_THUMBS_DIR."/".$cid.$s.".".$ext)) + return COLLECT_THUMBS_URL."/".$cid.$s.".".$ext; + } } } diff --git a/upload/includes/classes/conversion/ffmpeg.class.php b/upload/includes/classes/conversion/ffmpeg.class.php index d60e3677..38efc99a 100644 --- a/upload/includes/classes/conversion/ffmpeg.class.php +++ b/upload/includes/classes/conversion/ffmpeg.class.php @@ -440,7 +440,7 @@ class FFMpeg{ $name = substr($name, 0, strrpos($name, ".")); $status = "Successful"; $this->log->TemplogData .= "\r\n Conversion Status : ".$status." @ ".date("Y-m-d H:i:s")." \r\n"; - $this->log->writeLine("Conversion Ouput",$this->log->TemplogData, true); + $this->log->writeLine("Converiosn Ouput",$this->log->TemplogData, true); $this->output_file = $this->sdFile; $this->output_details = $this->get_file_info($this->output_file); @@ -485,7 +485,7 @@ class FFMpeg{ //logData(json_encode($this->sdFile1)); $status = "Successful"; $this->log->TemplogData .= "\r\n Conversion Status : ".$status." @ ".date("Y-m-d H:i:s")."\r\n"; - $this->log->writeLine("Conversion Ouput",$this->log->TemplogData, true); + $this->log->writeLine("Converiosn Ouput",$this->log->TemplogData, true); $this->output_file = $this->hdFile; $this->output_details = $this->get_file_info($this->output_file); @@ -530,7 +530,7 @@ class FFMpeg{ $name = substr($name, 0, strrpos($name, ".")); $status = "Successful"; $this->log->TemplogData .= "\r\n Conversion Status : ".$status." @ ".date("Y-m-d H:i:s")." \r\n"; - $this->log->writeLine("Conversion Ouput",$this->log->TemplogData, true); + $this->log->writeLine("Converiosn Ouput",$this->log->TemplogData, true); $this->output_file = $this->sdFile; $this->output_details = $this->get_file_info($this->output_file); @@ -794,15 +794,16 @@ class FFMpeg{ /** - * @Reason : this function is used to rearrange required resolution for conversion - * @params : { resolutions (Array) } - * @date : 13-12-2016 - * return : refined resolution array + * @Reason : this funtion is used to rearrange required resolution for conversion + * @params : { resolutions (Array) , ffmpeg ( Object ) } + * @date : 23-12-2015 + * return : refined reslolution array */ function reindex_required_resolutions($resolutions) { + $original_video_height = $this->input_details['video_height']; - + // Setting threshold for input video to convert $valid_dimensions = array(240,360,480,720,1080); $input_video_height = $this->getClosest($original_video_height, $valid_dimensions); @@ -815,19 +816,23 @@ class FFMpeg{ } foreach ($resolutions as $key => $value) { - //$video_width=(int)$value[0]; + $video_width=(int)$value[0]; $video_height=(int)$value[1]; - if($input_video_height != $video_height && $this->configs['gen_'.$video_height] == 'yes'){ + if($input_video_height != $video_height && $this->configs['gen_'.$video_height] == 'yes'){ $final_res[$video_height] = $value; } } logData("Final Res : ".$final_res,"checkpoints"); - + $revised_resolutions = $final_res; - if ( $revised_resolutions ) + if ( $revised_resolutions ){ return $revised_resolutions; - return false; + } + else{ + return false; + } + } function isLocked($num=1) @@ -857,47 +862,54 @@ class FFMpeg{ //We will now add a loop //that will check weather logData('Checking conversion locks','checkpoints'); - while( true ) + while(1) { $use_crons = config('use_crons'); //logData($this->isLocked(PROCESSESS_AT_ONCE)."|| ".$use_crons."||".$this->set_conv_lock); - if( !$this->isLocked(PROCESSESS_AT_ONCE) || $use_crons == 'yes' ) + if(!$this->isLocked(PROCESSESS_AT_ONCE) || $use_crons=='yes') { - if( $use_crons == 'no' ) + + if($use_crons=='no') { //Lets make a file $file = fopen($conv_file,"w+"); fwrite($file,"converting.."); fclose($file); } - + + $this->start_time_check(); $this->start_log(); $this->prepare(); - $ratio = substr($this->input_details['video_wh_ratio'], 0, 7); + $ratio = substr($this->input_details['video_wh_ratio'],0,7); $max_duration = config('max_video_duration') * 60; - if( $this->input_details['duration'] > $max_duration ) + if($this->input_details['duration']>$max_duration) { + $max_duration_seconds = $max_duration / 60; $this->TemplogData = "Video duration was ".$this->input_details['duration']." minutes and Max video duration is {$max_duration_seconds} minutes, Therefore Video cancelled\n"; $this->TemplogData .= "Conversion_status : failed\n"; $this->TemplogData .= "Failed Reason : Max Duration Configurations\n"; - $this->log->writeLine("Max Duration configs",$this->TemplogData, true); + $this->log->writeLine("Max Duration configs",$this->TemplogData , true); //$this->create_log_file(); $this->failed_reason = 'max_duration'; break; + return false; } - $ratio = (float)$ratio; - if( $ratio >= 1.6 ) + $ratio = (float) $ratio; + if($ratio>=1.6) + { $res = $this->configs['res169']; - else + }else + { $res = $this->configs['res43']; + } logData('Video is about to convert','checkpoints'); @@ -909,19 +921,17 @@ class FFMpeg{ $this->log->writeLine("Thumbs Generation", "Starting"); $this->TemplogData = ""; - try { + try{ $thumbs_settings = $this->thumbs_res_settings; logData($thumbs_settings,'checkpoints'); - foreach( $thumbs_settings as $key => $thumbs_size ) - { + foreach ($thumbs_settings as $key => $thumbs_size){ $height_setting = $thumbs_size[1]; $width_setting = $thumbs_size[0]; $dimension_setting = $width_setting.'x'.$height_setting; - if( $key == 'original' ) - { + if($key == 'original'){ $dimension_setting = $key; $dim_identifier = $key; - } else { + }else{ $dim_identifier = $width_setting.'x'.$height_setting; } $thumbs_settings['vid_file'] = $this->input_file; @@ -932,8 +942,8 @@ class FFMpeg{ $this->generateThumbs($thumbs_settings); } - } catch(Exception $e) { - $this->TemplogData .= "\r\n Error Occured : ".$e->getMessage()."\r\n"; + }catch(Exception $e){ + $this->TemplogData .= "\r\n Errot Occured : ".$e->getMessage()."\r\n"; } $this->TemplogData .= "\r\n ====== End : Thumbs Generation ======= \r\n"; $this->log->writeLine("Thumbs Files", $this->TemplogData , true ); @@ -949,50 +959,64 @@ class FFMpeg{ // setting type of conversion, fetching from configs $this->resolutions = $this->configs['cb_combo_res']; - switch( $this->resolutions ) + $res169 = $this->res169; + + switch ($this->resolutions) { case 'yes': - $res169 = $this->reindex_required_resolutions($this->res169); + { + $res169 = $this->reindex_required_resolutions($res169); $this->ratio = $ratio; - foreach( $res169 as $value ) + foreach ($res169 as $value) { - $video_width = (int)$value[0]; - $video_height = (int)$value[1]; + $video_width=(int)$value[0]; + $video_height=(int)$value[1]; - // Here we must check width instead of height to be able to import other formats than 16/9 (For example : 1920x800) - if( $this->input_details['video_width'] >= $video_width ) + $bypass = $this->check_threshold($this->input_details['video_height'],$video_height); + logData($bypass,'reindex'); + if($this->input_details['video_height'] > $video_height-1 || $bypass) { - $more_res['video_width'] = $video_width; - $more_res['video_height'] = $video_height; - $more_res['name'] = $video_height; - logData($more_res['video_height'], 'reindex'); - $this->convert(NULL, false, $more_res); + $more_res['video_width'] = $video_width; + $more_res['video_height'] = $video_height; + $more_res['name'] = $video_height; + logData($more_res['video_height'],'reindex'); + $this->convert(NULL,false,$more_res); + } } - break; + } + break; case 'no': default : + { $this->convertVideo($orig_file); - break; + } + break; } + + + $this->end_time_check(); $this->total_time(); //Copying File To Original Folder - if( $this->keep_original == 'yes' ) + if($this->keep_original=='yes') { $this->log->TemplogData .= "\r\nCopy File to original Folder"; - if( copy($this->input_file, $this->original_output_path) ) + if(copy($this->input_file,$this->original_output_path)) $this->log->TemplogData .= "\r\nFile Copied to original Folder..."; else $this->log->TemplogData.= "\r\nUnable to copy file to original folder..."; } - + + $this->log->TemplogData .= "\r\n\r\nTime Took : "; $this->log->TemplogData .= $this->total_time.' seconds'."\r\n\r\n"; + + if(file_exists($this->output_file) && filesize($this->output_file) > 0) $this->log->TemplogData .= "conversion_status : completed "; @@ -1003,20 +1027,41 @@ class FFMpeg{ //$this->create_log_file(); break; - } else { + }else + { #do nothing } } } + + /** + * Used to checks if video is under threshold for conversion + * @param : { Array } { app_id } + * @todo : This Function checks if video is under threshold + * @example : check_threshold($input_vidoe_height,$current_video_height) { will check the threshold for 240p } + * @return : { Boolean } { True/ False } + * @since : 27th Oct, 2016 Feedback 1.0 + * @author : Fahad Abbas + */ + function check_threshold($input_video_height,$current_video_height){ + + $threshold = '200'; + if ($current_video_height == "240"){ + if ($input_video_height > $threshold){ + return True; + } + } + return False; + } - public function generate_thumbs($input_file,$duration, $dim='120x90', $num=3, $prefix=NULL, $rand=NULL, $gen_thumb=FALSE, $output_file_path=false, $specific_dura=false) + public function generate_thumbs($input_file,$duration,$dim='120x90',$num=3,$prefix=NULL, $rand=NULL,$gen_thumb=FALSE,$output_file_path=false,$specific_dura=false) { if($specific_dura) { $durations_format = gmdate("H:i:s", $duration); - $command = $this->ffmpeg." -i $input_file -ss ".$durations_format." -r 1 $dim -y -f image2 -vframes 1 $output_file_path "; + $command = $this->ffmpeg." -i $input_file -ss ".$durations_format." -r 1 $dimension -y -f image2 -vframes 1 $output_file_path "; //pr($command,true); shell_output($command); @@ -1517,7 +1562,7 @@ class FFMpeg{ } $this->log->TemplogData .="\r\n\r\nEnd resolutions @ ".date("Y-m-d H:i:s")."\r\n\r\n"; - $this->log->writeLine('Conversion Ouput',$this->log->TemplogData,true); + $this->log->writeLine('Converiosn Ouput',$this->log->TemplogData,true); $this->log->TemplogData = ""; $this->output_details = $this->get_file_info($this->output_file); @@ -2048,7 +2093,11 @@ class FFMpeg{ rmdir($tmpDir); } - /** + + + + + /** * Function used to convert seconds into proper time format * @param : INT duration * @parma : rand diff --git a/upload/includes/classes/db.class.php b/upload/includes/classes/db.class.php index b60c472c..f2b4eb27 100644 --- a/upload/includes/classes/db.class.php +++ b/upload/includes/classes/db.class.php @@ -22,24 +22,17 @@ class Clipbucket_db var $num_rows = 0; - /** - * Connect to mysqli Database - * - * @param $host - * @param $name - * @param $uname - * @param $pwd - * - * @return bool { boolean } { true or false } - * { true or false } - * @internal param $ : { string } { $host } { your database host e.g localhost } { $host } { your database host e.g localhost } - * @internal param $ : { string } { $name } { name of database to connect to } { $name } { name of database to connect to } - * @internal param $ : { string } { $uname } { your database username } { $uname } { your database username } - * @internal param $ : { string } { $pwd } { password of database to connect to } { $pwd } { password of database to connect to } - */ + /** + * Connect to mysqli Database + * + * @param : { string } { $host } { your database host e.g localhost } + * @param : { string } { $name } { name of database to connect to } + * @param : { string } { $uname } { your database username } + * @param : { string } { $pwd } { password of database to connect to } + * @return { boolean } { true or false } + */ - function connect($host=String, $name=String, $uname=String, $pwd=String) - { + function connect($host=String,$name=String,$uname=String,$pwd=String) { try { if(!$host) $host = $this->db_host; if(!$name) $name = $this->db_name; @@ -47,15 +40,12 @@ class Clipbucket_db if(!$pwd) $pwd = $this->db_pwd; $this->mysqli = new mysqli($host,$uname, $pwd, $name); - if($this->mysqli->connect_errno) - return false; + if($this->mysqli->connect_errno) return false; $this->db_host = $host; $this->db_name = $name; $this->uname = $uname; $this->pwd = $pwd; - $this->execute('SET NAMES "utf8"'); - } catch(DB_Exception $e) { $e->getError(); } @@ -280,12 +270,9 @@ class Clipbucket_db * @return : { boolean } { true of false } */ - function db_update($tbl, $fields, $cond) - { + function db_update($tbl, $fields, $cond) { $count = 0; - $fields_query = ''; - foreach ($fields as $field => $val) - { + foreach ($fields as $field => $val) { if ($count > 0) $fields_query .= ','; $needle = substr($val, 0, 2); @@ -302,7 +289,6 @@ class Clipbucket_db //Complete Query $query = "UPDATE $tbl SET $fields_query WHERE $cond $ep"; try { - global $db; $db->mysqli->query($query); } catch(DB_Exception $e) { $e->getError(); @@ -423,8 +409,6 @@ class Clipbucket_db function db_insert($tbl, $fields) { - global $db; - $count = 0; $query_fields = array(); $query_values = array(); @@ -481,6 +465,7 @@ class Clipbucket_db /** * Get effect rows */ + function Affected_Rows() { return $this->mysqli->affected_rows; @@ -488,3 +473,4 @@ class Clipbucket_db } +?> diff --git a/upload/includes/classes/errorhandler.class.php b/upload/includes/classes/errorhandler.class.php index 1c53296f..a86a0ce9 100644 --- a/upload/includes/classes/errorhandler.class.php +++ b/upload/includes/classes/errorhandler.class.php @@ -2,6 +2,7 @@ /** * Very basic error handler */ + class EH extends ClipBucket { @@ -12,11 +13,15 @@ class EH extends ClipBucket /** * A CONSTRUCTOR */ - function error_handler(){} - + function error_handler() + { + + } + /** * Function used to add new Error */ + function add_error($message=NULL,$id=NULL) { global $ignore_cb_errors; @@ -25,7 +30,7 @@ class EH extends ClipBucket $this->error_list[] = $message; } - + /** * Function usd to add new warning */ @@ -37,19 +42,20 @@ class EH extends ClipBucket /** * Function used to get error list */ - function error_list() - { - return $this->error_list; - } - /** - * Function used to flush errors - */ - function flush_error() - { - $this->error_list = ''; - } - + function error_list() + { + return $this->error_list; + } + + /** + * Function used to flush errors + */ + function flush_error() + { + $this->error_list = ''; + } + /** * Functio nused to add message_list */ @@ -94,40 +100,49 @@ class EH extends ClipBucket $this->flush_error(); $this->flush_warning(); } - + /** * Function used to add error or either message using simple * and small object - * * @param : message, @param :type,@param:id - * - * @return null */ function e($message=NULL,$type='e',$id=NULL) { + switch($type) { case 'm': case 1: case 'msg': case 'message': - $this->add_message($message,$id); - break; + $this->add_message($message,$id); + break; case 'e': case 'err': case 'error': default: - $this->add_error($message,$id); - break; + $this->add_error($message,$id); + break; case 'w': case 2: case 'war': case 'warning': + { $this->add_warning($message,$id); - break; + } + break; + + default: + $this->error_list($message,$id); + break; } + return $message; } -} \ No newline at end of file + +} + + +?> \ No newline at end of file diff --git a/upload/includes/classes/upload.class.php b/upload/includes/classes/upload.class.php index 87acab00..a76d60fb 100644 --- a/upload/includes/classes/upload.class.php +++ b/upload/includes/classes/upload.class.php @@ -508,7 +508,7 @@ class Upload{ 'desc' => array('title'=> lang('vdo_desc'), 'type'=> 'textarea', 'name'=> 'description', - 'class'=> 'desc', + 'id'=> 'desc', 'value'=> cleanForm($desc), 'size'=>'35', 'extra_params'=>' rows="4"', diff --git a/upload/includes/config.inc.php b/upload/includes/config.inc.php index 668202e6..639fcd8e 100644 --- a/upload/includes/config.inc.php +++ b/upload/includes/config.inc.php @@ -47,7 +47,7 @@ if(config('closed') && THIS_PAGE!='ajax' && !$in_bg_cron && THIS_PAGE!='cb_insta template("message.html"); exit(); }else{ - e(lang("website_offline"),"w"); + e(lang("ATTENTION: THIS WEBSITE IS IN OFFLINE MODE"),"w"); } } diff --git a/upload/includes/functions.php b/upload/includes/functions.php index ed944df9..8a7fb029 100644 --- a/upload/includes/functions.php +++ b/upload/includes/functions.php @@ -1730,25 +1730,14 @@ } } } - - if($LANG != null && !isset($LANG[$var])) - { - error_log('[LANG] Missing translation for "'.$var.'"'); - if (DEVELOPMENT_MODE) - error_log(print_r(debug_backtrace(), TRUE)); - } - return $phrase; } /** - * Fetch lang value from smarty using lang code - * - * @param : { array } { $param } { array of parameters } - * - * @uses : { function lang() } - * @return mixed|string - */ + * Fetch lang value from smarty using lang code + * @param : { array } { $param } { array of parameters } + * @uses : { function lang() } + */ function smarty_lang($param) { if(getArrayValue($param, 'assign')=='') { @@ -2539,8 +2528,8 @@ return lang('no_date_provided'); } $periods = array(lang("second"), lang("minute"), lang("hour"), lang("day"), lang("week"), lang("month"), lang("year"), lang("decade")); - $lengths = array(60,60,24,7,4.35,12,10); - $now = time(); + $lengths = array(lang("60"),lang("60"),lang("24"),lang("7"),lang("4.35"),lang("12"),lang("10")); + $now = time(); if(!$istime) { $unix_date = strtotime($date); } else { @@ -5033,24 +5022,24 @@ if(!isset($_GET['time'])) $_GET['time'] = 'all_time'; - $array = array( - 'view_all' => lang('all'), - 'most_recent' => lang('recent'), - 'most_viewed' => lang('viewed'), - 'featured' => lang('featured'), - 'top_rated' => lang('top_rated'), - 'most_commented'=> lang('commented') - ); + $array = array + ('view_all' => lang('All'), + 'most_recent' => lang('recent'), + 'most_viewed' => lang('viewed'), + 'featured' => lang('featured'), + 'top_rated' => lang('top_rated'), + 'most_commented' => lang('commented') + ); return $array; } /** - * Function used for building time links that are used - * on main pages such as videos.php, photos.php etc - * @return array : { array } { $array } { an array with all possible time sorts } - * { $array } { an array with all possible time sorts } - * @internal param $ : { none } - */ + * Function used for building time links that are used + * on main pages such as videos.php, photos.php etc + * + * @param : { none } + * @return : { array } { $array } { an array with all possible time sorts } + */ function time_links() { $array = array @@ -5068,20 +5057,14 @@ } /** - * Fetch videos from video collections - * - * @param $id - * @param $order - * @param $limit - * @param bool $count_only - * - * @return array { array } { $items } { an array with videos data } - * { $items } { an array with videos data } - * @internal param $ : { integer } { $id } { id of collection from which to fetch videos } { $id } { id of collection from which to fetch videos } - * @internal param $ : { string } { $order } { sorting of videos } { $order } { sorting of videos } - * @internal param $ : { integer } { $limit } { number of videos to fetch } { $limit } { number of videos to fetch } - * @internal param $ : { boolean } { $count_only } { false by default, if true, returns videos count only } { $count_only } { false by default, if true, returns videos count only } - */ + * Fetch videos from video collections + * + * @param : { integer } { $id } { id of collection from which to fetch videos } + * @param : { string } { $order } { sorting of videos } + * @param : { integer } { $limit } { number of videos to fetch } + * @param : { boolean } { $count_only } { false by default, if true, returns videos count only } + * @return { array } { $items } { an array with videos data } + */ function get_videos_of_collection($id,$order,$limit,$count_only=false) { global $cbvideo; @@ -5124,24 +5107,20 @@ } - /** - * function uses to parse certain string from bulk string - * @author : Awais Tariq - * - * @param $needle_start - * @param $needle_end - * @param $results - * - * @return array|bool {bool/string/int} {true/$return_arr} - * {true/$return_arr} - * @internal param $ : {string} {$needle_start} { string from where the parse starts} {$needle_start} { string from where the parse starts} - * @internal param $ : {string} {$needle_end} { string from where the parse end} {$needle_end} { string from where the parse end} - * @internal param $ : {string} {$results} { total string in which we search} {$results} { total string in which we search} - * - * @todo {.....} - * - * - */ + + + /** + * function uses to parse certain string from bulk string + * @author : Awais Tariq + * @param : {string} {$needle_start} { string from where the parse starts} + * @param : {string} {$needle_end} { string from where the parse end} + *@param : {string} {$results} { total string in which we search} + * + * @todo {.....} + * + * + * @return {bool/string/int} {true/$return_arr} + */ function find_string($needle_start,$needle_end,$results) { if(empty($results)||empty($needle_start)||empty($needle_end)) { @@ -5187,16 +5166,13 @@ } /** - * Pulls subscribers ids for given userid - * - * @param : { integer } { $userid } { id of user to get subscribers for } - * @param bool $limit - * - * @return array : { array } { $ids } { ids of subscribers } - * { $ids } { ids of subscribers } - * @author : Saqib Razzaq - * @since : ClipBucket 2.8.1 - */ + * Pulls subscribers ids for given userid + * @param : { integer } { $userid } { id of user to get subscribers for } + * @param : { integer / boolean } { false by default, number of subscribers to get } + * @return : { array } { $ids } { ids of subscribers } + * @author : Saqib Razzaq + * @since : ClipBucket 2.8.1 + */ function get_user_subscibers($userid, $limit = false) { global $db; @@ -5231,20 +5207,18 @@ } /** - * Check where a function is being called from - * - * @param bool $file - * @param bool $pex - * - * @internal param $ : { boolean } { $file } { false by default, returns file path if true } { $file } { false by default, returns file path if true } - * @internal param $ : { boolean } { $pex } { false by default, exists after pr() if true } { $pex } { false by default, exists after pr() if true } - * @since : 2nd March, 2016 ClipBucket 2.8.1 - * @author : Saqib Razzaq - */ + * Check where a function is being called from + * @param : { boolean } { $file } { false by default, returns file path if true } + * @param : { boolean } { $pex } { false by default, exists after pr() if true } + * @since : 2nd March, 2016 ClipBucket 2.8.1 + * @author : Saqib Razzaq + */ function trace_func($file = false, $pex = false) { - $trace = debug_backtrace(); - if ($file) { + if (!$file) { + $trace = debug_backtrace(); + } else { + $trace = debug_backtrace(); $trace = $trace[1]['file']; } @@ -5255,16 +5229,14 @@ } } - /** - * Display an image or build image tag - * - * @param : { string } { $src } { link to image file } - * @param bool $return - * - * @return string - * @since : 2nd March, 2016 ClipBucket 2.8.1 - * @author : Saqib Razzaq - */ + /** + * Display an image or build image tag + * + * @param : { string } { $src } { link to image file } + * @param : { boolean } { $return } { false by default, returns img tag if true } + * @since : 2nd March, 2016 ClipBucket 2.8.1 + * @author : Saqib Razzaq + */ function view_image($src, $return = false) { if (!empty($src)) { @@ -5277,20 +5249,15 @@ } /** - * Get part of a string between two characters - * - * @param $str - * @param $from - * @param $to - * - * @return string : { string } { requested part of stirng } - * { requested part of stirng } - * @internal param $ : { string } { $str } { string to read } { $str } { string to read } - * @internal param $ : { string } { $from } { character to start cutting } { $from } { character to start cutting } - * @internal param $ : { string } { $to } { character to stop cutting } { $to } { character to stop cutting } - * @since : 3rd March, 2016 ClipBucket 2.8.1 - * @author : Saqib Razzaq - */ + * Get part of a string between two characters + * + * @param : { string } { $str } { string to read } + * @param : { string } { $from } { character to start cutting } + * @param : { string } { $to } { character to stop cutting } + * @return : { string } { requested part of stirng } + * @since : 3rd March, 2016 ClipBucket 2.8.1 + * @author : Saqib Razzaq + */ function getStringBetween($str,$from,$to) { $sub = substr($str, strpos($str,$from)+strlen($from),strlen($str)); diff --git a/upload/includes/langs/en.lang b/upload/includes/langs/en.lang index 9caa100c..435bc280 100644 --- a/upload/includes/langs/en.lang +++ b/upload/includes/langs/en.lang @@ -1 +1 @@ -{"ad_name_error":"Please enter a name for the Advertisment","ad_code_error":"Error : Please enter a code for the Advertisement","ad_exists_error1":"Advertisement does not exist","ad_exists_error2":"Error : Advertisement with this name already exist","ad_add_msg":"Advertisment was added succesfully","ad_msg":"Ad Has Been ","ad_update_msg":"Advertisment has been Updated","ad_del_msg":"Advertisement has been Deleted","ad_deactive":"Deactivated","ad_active":"Activated","ad_placment_delete_msg":"Placement has been Removed","ad_placement_err1":"Placement already exists","ad_placement_err2":"Please Enter a name for the Placement","ad_placement_err3":"Please Enter a Code for the Placement","ad_placement_msg":"Placement has been Added","cat_img_error":"Please Upload JPEG, GIF or PNG image only","cat_exist_error":"Category doesn’t exist","cat_add_msg":"Category has been added successfully","cat_update_msg":"Category has been updated","grp_err":"Group Doesn’t Exist","grp_fr_msg":"Group has been set as featured","grp_fr_msg1":"Selected Groups Have Been Removed From The Featured List","grp_ac_msg":"Selected Groups Have Been Activated","grp_dac_msg":"Selected Groups Have Been Dectivated","grp_del_msg":"Group has been deleted","editor_pic_up":"Video Has Been Moved Up","editor_pic_down":"Video Has Been Moved Down","plugin_install_msg":"Plugin has been installed","plugin_no_file_err":"No file was found","plugin_file_detail_err":"Unknown plugin details found","plugin_installed_err":"Plugin already installed","plugin_no_install_err":"Plugin is not installed","grp_name_error":"Please enter group name","grp_name_error1":"Group Name Already Exists","grp_des_error":"Please Enter A Little Description For The Group","grp_tags_error":"Please Enter Tags For The Group","grp_url_error":"Please enter valid url for the Group","grp_url_error1":"Please enter Valid URL name","grp_url_error2":"Group URL Already Exists, Please Choose a Different URL","grp_tpc_error":"Please enter a topic to add","grp_comment_error":"You must enter a comment","grp_join_error":"You have already joined this group","grp_prvt_error":"This Group Is Private, Please Login to View this Group","grp_inact_error":"This Group Is Inactive, Please Contact Administrator for the problem","grp_join_error1":"You Have Not Joined This Group Yet","grp_exist_error":"Sorry, Group Doesn’t Exist","grp_tpc_error1":"This Topic is not approved by the Group Owner","grp_cat_error":"Please Select A Category For Your group","grp_tpc_error2":"Please enter a topic to add","grp_tpc_error3":"Your Topic Requires Approval From The Owner Of This Group","grp_tpc_msg":"Topic has been added","grp_comment_msg":"Comment has been added","grp_vdo_msg":"Videos Deleted","grp_vdo_msg1":"Videos Added Successfully","grp_vdo_msg2":"Videos Have Been Approved","grp_mem_msg":"Member Has Been Deleted","grp_mem_msg1":"Member Has Been Approved","grp_inv_msg":"Your Invitation Has Been Sent","grp_tpc_msg1":"Topic has been deleted","grp_tpc_msg2":"Topic Has Been Approved","grp_fr_msg2":"Group has been removed from featured list","grp_inv_msg1":"Has Invited You To Join ","grp_av_msg":"Group has been activated","grp_da_msg":"Group has been deactivated","grp_post_msg":"Post Has Been Deleted","grp_update_msg":"Group has been updated","grp_owner_err":"Only Owner Can Add Videos To This Group","grp_owner_err1":"You are not owner of this group","grp_owner_err2":"You are the owner of this group. You cannot leave your group.","grp_prvt_err1":"This group is private, you need invitiation from its owner in order to join","grp_rmv_msg":"Selected Groups Have Been Removed From Your Account","grp_tpc_err4":"Sorry, Topic Doesn’t Exist","grp_title_topic":"Groups - Topic - ","grp_add_title":"- Add Video","usr_sadmin_err":"You Cannot Set SuperAdmin Username as Blank","usr_cpass_err":"Confirm Password Doesn’t Match","usr_pass_err":"Old password is incorrect","usr_email_err":"Please Provide A Valid Email Address","usr_cpass_err1":"Confirm password is incorrect","usr_pass_err1":"Password is Incorrect","usr_cmt_err":"You Must Login First To Comment","usr_cmt_err1":"Please Type Something In the Comment Box","usr_cmt_err2":"You cannot comment on your video","usr_cmt_err3":"You Have Already Posted a Comment on this channel.","usr_cmt_err4":"Comment Has Been Added","usr_cmt_del_msg":"Comment Has Been Deleted","usr_cmt_del_err":"An Error Occured While deleting a Comment","usr_cnt_err":"You Cannot Add Yourself as a Contact","usr_cnt_err1":"You Have Already Added This User To Your Contact List","usr_sub_err":"You are already subscribed to %s","usr_exist_err":"User Doesnt Exist","usr_ccode_err":"Verification code you entered was wrong","usr_exist_err1":"Sorry, No User Exists With This Email","usr_exist_err2":"Sorry , User Doesn't Exist","usr_uname_err":"Username is empty","usr_uname_err2":"Username already exists","usr_pass_err2":"Password Is Empty","usr_email_err1":"Email is Empty","usr_email_err2":"Please Enter A Valid Email Address","usr_email_err3":"Email Address Is Already In Use","usr_pcode_err":"Postal Codes Only Contain Numbers","usr_fname_err":"First Name Is Empty","usr_lname_err":"Last Name Is Empty","usr_uname_err3":"Username Contains Unallowed Characters","usr_pass_err3":"Passwords MisMatched","usr_dob_err":"Please Select Date Of Birth","usr_ament_err":"Sorry, you need to agree to the terms of use and privacy policy to create an account","usr_reg_err":"Sorry, Registrations Are Temporarily Not Allowed, Please Try Again Later","usr_ban_err":"User account is banned, please contact website administrator","usr_login_err":"Username and Password Didn’t Match","usr_sadmin_msg":"Super Admin Has Been Updated","usr_pass_msg":"Your Password Has Been Changed","usr_cnt_msg":"This User Has Been Added To Your Contact List","usr_sub_msg":"You are now subsribed to %s","usr_uname_email_msg":"We Have Sent you an Email containing Your Username, Please Check It","usr_rpass_email_msg":"An Email Has Been Sent To You. Please Follow the Instructions there to Reset Your Password","usr_pass_email_msg":"Password has been changed successfully","usr_email_msg":"Email Settings Has Been Updated","usr_del_msg":"User has been deleted","usr_dels_msg":"Selected Users Have Been Deleted","usr_ac_msg":"User has been activated","usr_dac_msg":"User has been deactivated","usr_mem_ac":"Selected Members Have Been Activated","usr_mems_ac":"Selected Members Have Been Deactivated","usr_fr_msg":"User Has Been Made a Featured Member","usr_ufr_msg":"User Has Been Unfeatured","usr_frs_msg":"Selected Users Have Been Set As Featured","usr_ufrs_msg":"Selected Users Have Been Removed From The Featured List","usr_uban_msg":"User Has Been Banned","usr_uuban_msg":"User Has Been Unbanned","usr_ubans_msg":"Selected Members Have Been Banned","usr_uubans_msg":"Selected Members Have Been Unbanned","usr_pass_reset_conf":"Password Reset Confirmation","usr_dear_user":"Dear User","usr_pass_reset_msg":"You Requested A Password Reset, Follow The Link To Reset Your Password","usr_rpass_msg":"Password Has Been Reset","usr_rpass_req_msg":"You Requested A Password Reset, Here is your new password : ","usr_uname_req_msg":"You Requested to Recover Your Username, Here is your username: ","usr_uname_recovery":"Username Recovery Email","usr_add_succ_msg":"User Has Been Added","usr_upd_succ_msg":"User has been updated","usr_activation_msg":"Your account has been activated. Now you can login to your account and upload videos","usr_activation_err":"This user is already activated","usr_activation_em_msg":"We have sent you an email containing your activation code, please check your mail box","usr_activation_em_err":"Email Doesn’t Exist or a User With This Email is already Activated","usr_no_msg_del_err":"No Message Was Selected To Delete","usr_sel_msg_del_msg":"Selected Messages Have Been Deleted","usr_pof_upd_msg":"Profile has been updated","usr_arr_no_ans":"no answer","usr_arr_elementary":"Elementary","usr_arr_hi_school":"High School","usr_arr_some_colg":"Some College","usr_arr_assoc_deg":"Associates Degree","usr_arr_bach_deg":"Bachelor’s Degree","usr_arr_mast_deg":"Master’s Degree","usr_arr_phd":"Ph.D.","usr_arr_post_doc":"Postdoctoral","usr_arr_single":"Single","usr_arr_married":"Married","usr_arr_comitted":"Comitted","usr_arr_open_marriage":"Open Marriage","usr_arr_open_relate":"Open Relationship","title_crt_new_msg":"Compose New Message","title_forgot":"Forgot Something? Find it now !","title_inbox":" - Inbox","title_sent":" - Sent Folder","title_usr_contact":"’s Contact List","title_usr_fav_vids":"%s\u2019s Favorite Videos","title_view_channel":"’s Channel","title_edit_video":"Edit Video - ","vdo_title_err":"Please Enter Video Title","vdo_des_err":"Please Enter Video Description","vdo_tags_err":"Please Enter Tags For The Video","vdo_cat_err":"Please Choose Atleast 1 Category","vdo_cat_err1":"You Can Only Choose Up to 3 Categories","vdo_sub_email_msg":" and therefore this message is sent to you automatically that ","vdo_has_upload_nv":"Has Uploaded New Video","vdo_del_selected":"Selected Videos Have Been Deleted","vdo_cheat_msg":"Please Don't Try To Cheat","vdo_limits_warn_msg":"Please Don't Try To Cross Your Limits","vdo_cmt_del_msg":"Comment Has Been Deleted","vdo_iac_msg":"Video Is Inactive - Please Contact Admin For Details","vdo_is_in_process":"Video Is Being Processed - Please Contact Administrator for further details","vdo_upload_allow_err":"Uploading Is Not Allowed By Website Owner","vdo_download_allow_err":"Video Downloading Is Not Allowed","vdo_edit_owner_err":"You Are Not Video Owner","vdo_embed_code_wrong":"Embed Code Was Wrong","vdo_seconds_err":"Wrong Value Entered For Seconds Field","vdo_mins_err":"Wrong Value Entered For Minutes Field","vdo_thumb_up_err":"Error In Uploading Thumb","class_error_occured":"Sorry, An Error Occured","class_cat_del_msg":"Category has been deleted","class_vdo_del_msg":"Video has been deleted","class_vdo_fr_msg":"Video has been marked as “Featured Video”","class_fr_msg1":"Video has been removed from “Featured Videos”","class_vdo_act_msg":"Video has been activated","class_vdo_act_msg1":"Vidoe has been deactivated","class_vdo_update_msg":"Video details have been updated","class_comment_err":"You Must Login Before Postings Comments","class_comment_err1":"Please Type Something In The Comment Box","class_comment_err2":"You Cannot Post a Comment on Your Own Video","class_comment_err3":"You Have Already Posted a Comment, Please Wait for the others.","class_comment_err4":"You Have Already Replied To That a Comment, Please Wait for the others.","class_comment_err5":"You Cannot Post a Reply To Yourself","class_comment_msg":"Comment Has Been Added","class_comment_err6":"Please login to rate comment","class_comment_err7":"You have already rated this comment","class_vdo_fav_err":"This Video is Already Added To Your Favorites","class_vdo_fav_msg":"This Video Has Been Added To Your Favorites","class_vdo_flag_err":"You Have Already Flagged This Video","class_vdo_flag_msg":"This Video Has Been Flagged As Inappropriate","class_vdo_flag_rm":"Flag(s) Has\/Have Been Removed","class_send_msg_err":"Please Enter a Username or Select any User to Send Message","class_invalid_user":"Invalid Username","class_subj_err":"Message subject was empty","class_msg_err":"Please Type Something In Message Box","class_sent_you_msg":"Sent You A Message","class_sent_prvt_msg":"Sent You A Private Message on ","class_click_inbox":"Please Click here To View Your Inbox","class_click_login":"Click Here To Login","class_email_notify":"Email Notification","class_msg_has_sent_to":"Message Has Been Sent To ","class_inbox_del_msg":"Message Has Been Delete From Inbox ","class_sent_del_msg":"Message Has Been Delete From Sent Folder","class_msg_exist_err":"Message Doesn't Exist","class_vdo_del_err":"Video does not exist","class_unsub_msg":"You have been unsubscribed sucessfully","class_sub_exist_err":"Subscription Does Not Exist","class_vdo_rm_fav_msg":"Video Has Been Removed From Favourites","class_vdo_fav_err1":"This Video Is Not In Your Favourites List","class_cont_del_msg":"Contact Has Been Deleted","class_cot_err":"Sorry, This Contact Is Not In Your Contact List","class_vdo_ep_add_msg":"Video Has Been Added To Editor’s Pick","class_vdo_ep_err":"Video Is Already In The Editor’s Pick","class_vdo_ep_err1":"You Have Already Picked 10 Videos Please Delete Alteast One to Add More","class_vdo_ep_msg":"Video Has Been Removed From Editor’s Pick","class_vdo_exist_err":"Sorry, Video Doesn't Exist","class_img_gif_err":"Please Upload Gif Image Only","class_img_png_err":"Please Upload Png Image Only","class_img_jpg_err":"Please Upload Jpg Image Only","class_logo_msg":"Logo Has Been Changed. Please Clear Cache If You Are Not Able To See the Changed Logo","com_forgot_username":"Forgot Username | Password","com_join_now":"Join Now","com_my_account":"My Account","com_manage_vids":"Manage Videos","com_view_channel":"View My Channel","com_my_inbox":"My Inbox","com_welcome":"Welcome","com_top_mem":"Top Members ","com_vidz":"Videos","com_sign_up_now":"Sign Up Now !","com_my_videos":"My Videos","com_my_channel":"My Channel","com_my_subs":"My Subscriptions","com_user_no_contacts":"User Does Not Have Any Contact","com_user_no_vides":"User Does Not Have Any Favourite Video","com_user_no_vid_com":"User Has No Video Comments","com_view_all_contacts":"View All Contacts of","com_view_fav_all_videos":"View All Favourite Videos Of","com_login_success_msg":"You Have Been Successfully Logged In.","com_logout_success_msg":"You Have Been Successfully Logged Out.","com_not_redirecting":"You are now Redirecting .","com_not_redirecting_msg":"if your are not redirecting","com_manage_contacts":"Manage Contacts ","com_send_message":"Send Message","com_manage_fav":"Manage Favorites ","com_manage_subs":"Manage Subscriptions","com_subscribe_to":"Subscribe to %s’s channel","com_total_subs":"Total Subscribtions","com_total_vids":"Total Videos","com_date_subscribed":"Date Subscribed","com_search_results":"Search Results","com_advance_results":"Advanced Search","com_search_results_in":"Search Results In","videos_being_watched":"Recently Viewed...","latest_added_videos":"Recent Additions","most_viewed":"Most Viewed","recently_added":"Recently Added","featured":"Featured","highest_rated":"Highest Rated","most_discussed":"Most Discussed","style_change":"Style Change","rss_feed_latest_title":"RSS Feed for Most Recent Videos","rss_feed_featured_title":"RSS Feed for Featured Videos","rss_feed_most_viewed_title":"RSS Feed for Most Popular Videos","lang_folder":"en","reg_closed":"Registration Closed","reg_for":"Registration for","is_currently_closed":"is currently closed","about_us":"About Us","account":"Account","added":"Added","advertisements":"Advertisements","all":"All","active":"Active","activate":"Activate","age":"Age","approve":"Approve","approved":"Approved","approval":"Approval","books":"Books","browse":"Browse","by":"by","cancel":"Cancel","categories":"Categories","category":"Category","channels":"channels","check_all":"Check All","click_here":"Click Here","comments":"Comments","community":"Community","companies":"Companies","contacts":"Contacts","contact_us":"Contact Us","country":"Country","created":"Created","date":"Date","date_added":"Date Added","date_joined":"Date Joined","dear":"Dear","delete":"Delete","delete_selected":"Delete Selected","des_title":"Description:","duration":"Duration","education":"Education","email":"email","embed":"Embed","embed_code":"Embed Code","favourite":"Favorite","favourited":"Favorited","favourites":"Favorites","female":"Female","filter":"Filter","forgot":"Forgot","friends":"Friends","from":"From","gender":"Gender","groups":"Groups","hello":"Hello","help":"Help","hi":"Hi","hobbies":"Hobbies","Home":"Home","inbox":"Inbox","interests":"Interests","join_now":"Join Now","joined":"Joined","join":"Join","keywords":"Keywords","latest":"Latest","leave":"Leave","location":"Location","login":"Login","logout":"Logout","male":"Male","members":"Members","messages":"Messages","message":"Message","minutes":"minutes","most_members":"Most Members","most_recent":"Most Recent","most_videos":"Most Videos","music":"Music","my_account":"My Account","next":"Next","no":"No","no_user_exists":"No User Exists","no_video_exists":"No Video Exists","occupations":"Occupations","optional":"optional","owner":"Owner","password":"password","please":"Please","privacy":"Privacy","privacy_policy":"Privacy Policy","random":"Random","rate":"Rate","request":"Request","related":"Related","reply":"Reply","results":"Results","relationship":"Relationship","seconds":"seconds","select":"Select","send":"Send","sent":"Sent","signup":"Signup","subject":"Subject","tags":"Tags","times":"Times","to":"To","type":"Type","update":"Update","upload":"Upload","url":"Url","verification":"Verification","videos":"Videos","viewing":"Viewing","welcome":"Welcome","website":"Website","yes":"Yes","of":"of","on":"on","previous":"Previous","rating":"Rating","ratings":"Ratings","remote_upload":"Remote Upload","remove":"Remove","search":"Search","services":"Services","show_all":"Show All","signupup":"Sign Up","sort_by":"Sort","subscriptions":"Subscriptions","subscribers":"Subscribers","tag_title":"Tags","time":"time","top":"Top","tos_title":"Terms of Use","username":"Username","views":"Views","proccession_wait":"Processing, Please Wait","mostly_viewed":"Most Viewed","most_comments":"Most Comments","group":"Group","not_logged_in":"You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:","fill_auth_form":"You are not logged in. Fill in the form below and try again.","insufficient_privileges":"You may not have sufficient privileges to access this page.","admin_disabled_you":"The site administrator may have disabled your account, or it may be awaiting activation.","Recover_Password":"Recover Password","Submit":"Submit","Reset_Fields":"Reset Fields","admin_reg_req":"The administrator may have required you to register before you can view this page.","lang_change":"Language Change","lang_changed":"Your language has been changed","lang_choice":"Language","if_not_redir":"Click here to continue if you are not automatically redirected.","style_changed":"Your style has been changed","style_choice":"Style","vdo_edit_vdo":"Edit Video","vdo_stills":"Video Stills","vdo_watch_video":"Watch Video","vdo_video_details":"Video Details","vdo_title":"Title","vdo_desc":"Description","vdo_cat":"Video Category","vdo_cat_msg":"You May Select Up To %s Categories","vdo_tags_msg":"Tags are separated by commas ie Arslan Hassan, Awesome, ClipBucket","vdo_br_opt":"Broadcast Options","vdo_br_opt1":"Public - Share your video with Everyone! (Recommended)","vdo_br_opt2":"Private - Viewable by you and your friends only.","vdo_date_loc":"Date And Location","vdo_date_rec":"Date Recorded","vdo_for_date":"format MM \/ DD \/ YYYY ","vdo_add_eg":"e.g London Greenland, Sialkot Mubarak Pura","vdo_share_opt":"Sharing and privacy options","vdo_allow_comm":"Allow Comments ","vdo_dallow_comm":"Do Not Allow Comments","vdo_comm_vote":"Comments Voting","vdo_allow_com_vote":"Allow Voting on Comments","vdo_dallow_com_vote":"Do Not Allow on Comments","vdo_allow_rating":"Yes, Allow Rating on this video","vdo_dallow_ratig":"No, Do Not Allow Rating on this video","vdo_embedding":"Embedding","vdo_embed_opt1":"Yes, People can play this video on other websites","vdo_embed_opt2":"No, People cannot play this video on other websites","vdo_update_title":"Update","vdo_inactive_msg":"Your Account is Inactive. Please Activate it to Upload Videos, To Activate your account Please","vdo_click_here":"Click Here","vdo_continue_upload":"Continue to Upload","vdo_upload_step1":"Video Upload","vdo_upload_step2":"Video Step %s\/2","vdo_upload_step3":"(Step 2\/2)","vdo_select_vdo":"Select a video to upload.","vdo_enter_remote_url":"Enter Url Of The Video.","vdo_enter_embed_code_msg":"Enter Embed Video Code from other websites ie Youtube or Metacafe.","vdo_enter_embed_code":"Enter Embed Code","vdo_enter_druation":"Enter Duration","vdo_select_vdo_thumb":"Select Video Thumb","vdo_having_trouble":"Having Trouble?","vdo_if_having_problem":"if you are having problems with the uploader","vdo_clic_to_manage_all":"Click Here To Manage All Videos","vdo_manage_vdeos":"Manage Videos ","vdo_status":"Status","vdo_rawfile":"RawFile","vdo_video_upload_complete":"Video Upload - Upload Complete","vdo_thanks_you_upload_complete_1":"Thank you! Your upload is complete","vdo_thanks_you_upload_complete_2":"This video will be available in","vdo_after_it_has_process":"after it has finished processing.","vdo_embed_this_video_on_web":"Embed this video on your website.","vdo_copy_and_paste_the_code":"Copy and paste the code below to embed this video.","vdo_upload_another_video":"Upload Another Video","vdo_goto_my_videos":"Goto My Videos","vdo_sperate_emails_by":"seperate emails by commas","vdo_personal_msg":"Personal Message","vdo_related_tags":"Related Tags","vdo_reply_to_this":"Reply To This ","vdo_add_reply":"Add Reply","vdo_share_video":"Share Video","vdo_about_this_video":"About This Video","vdo_post_to_a_services":"Post to an Aggregating Service","vdo_commentary":"Commentary","vdo_post_a_comment":"Post A Comment","grp_add_vdo_msg":"Add Videos To Group ","grp_no_vdo_msg":"You Don’t Have Any Video","grp_add_to":"Add To Group","grp_add_vdos":"Add Videos","grp_name_title":"Group name","grp_tag_title":"Tags:","grp_des_title":"Description:","grp_tags_msg":"Enter one or more tags, separated by spaces.","grp_tags_msg1":"Enter one or more tags, separated by spaces. Tags are keywords used to describe your group so it can be easily found by other users. For example, if you have a group for surfers, you might tag it: surfing, beach, waves.","grp_url_title":"Choose a unique group name URL:","grp_url_msg":"Enter 3-18 characters with no spaces (such as “skateboarding skates”), that will become part of your group’s web address. Please note, the group name URL you pick is permanent and can’t be changed.","grp_cat_tile":"Group Category:","grp_vdo_uploads":"Video Uploads:","grp_forum_posting":"Forum Posting:","grp_join_opt1":"Public, anyone can join.","grp_join_opt2":"Protected, requires founder approval to join.","grp_join_opt3":"Private, by founder invite only, only members can view group details.","grp_vdo_opt1":"Post videos immediately.","grp_vdo_opt2":"Founder approval required before video is available.","grp_vdo_opt3":"Only Founder can add new videos.","grp_post_opt1":"Post topics immediately.","grp_post_opt2":"Founder approval required before topic is available.","grp_post_opt3":"Only Founder can create a new topic.","grp_crt_grp":"Create Group","grp_thumb_title":"Group Thumb","grp_upl_thumb":"Upload Group Thumb","grp_must_be":"Must Be","grp_90x90":"90 x 90 Ratio Will Give Best Quality","grp_thumb_warn":"Do Not Upload Vulgar or Copyrighted Material","grp_del_confirm":"Are You Sure You Want To Delete This Group","grp_del_success":"You Have Successfully Deleted","grp_click_go_grps":"Click Here To Go To Groups","grp_edit_grp_title":"Edit Group","grp_manage_vdos":"Manage Videos","grp_manage_mems":"Manage Members","grp_del_group_title":"Delete Group","grp_add_vdos_title":"Add Videos","grp_join_grp_title":"Join Group","grp_leave_group_title":"Leave Group","grp_invite_grp_title":"Invite Members","grp_view_mems":"View Members","grp_view_vdos":"View Videos","grp_create_grp_title":"Create A New Group","grp_most_members":"Most Members","grp_most_discussed":"Most Discussed","grp_invite_msg":"Invite Users To This Group","grp_invite_msg1":"Has Invited You To Join","grp_invite_msg2":"Enter Emails or Usernames (seperate by commas)","grp_url_title1":"Group url","grp_invite_msg3":"Send Invitation","grp_join_confirm_msg":"Are You Sure You Want To Join This Group","grp_join_msg_succ":"You have successfully joined group","grp_click_here_to_go":"Click Here To Go To","grp_leave_confirm":"Are You Sure You Want To Leave This Group","grp_leave_succ_msg":"You have left the group","grp_manage_members_title":"Manage Members ","grp_for_approval":"For Approval","grp_rm_videos":"Remove Videos","grp_rm_mems":"Remove Members","grp_groups_title":"Manage Groups","grp_joined_title":"Manage Joined Groups","grp_remove_group":"Remove Group","grp_bo_grp_found":"No Group Found","grp_joined_groups":"Joined Groups","grp_owned_groups":"Owned Groups","grp_edit_this_grp":"Edit This Group","grp_topics_title":"Topics","grp_topic_title":"Topic","grp_posts_title":"Posts","grp_discus_title":"Discussions","grp_author_title":"Author","grp_replies_title":"Replies","grp_last_post_title":"Last Post ","grp_viewl_all_videos":"View All Videos of This Group","grp_add_new_topic":"Add New Topic","grp_attach_video":"Attach Video ","grp_add_topic":"Add Topic","grp_please_login":"Please login to post topics","grp_please_join":"Please Join This Group To Post Topics","grp_inactive_account":"Your Account Is Inactive And Requires Activation From The Group Owner","grp_about_this_grp":"About This Group ","grp_no_vdo_err":"This Group Has No Vidoes","grp_posted_by":"Posted by","grp_add_new_comment":"Add New Comment","grp_add_comment":"Add Comment","grp_pls_login_comment":"Please Login To Post Comments","grp_pls_join_comment":"Please Join This Group To Post Comments","usr_activation_title":"User Activation","usr_actiavation_msg":"Enter Your Username and Activation Code that has been sent to your email.","usr_actiavation_msg1":"Request Activation Code","usr_activation_code_tl":"Activation Code","usr_compose_msg":"Compose Message","usr_inbox_title":"Inbox","usr_sent_title":"Sent","usr_to_title":"To: (Enter Username)","usr_or_select_frm_list":"or select from contact list","usr_attach_video":"Attach Video","user_attached_video":"Attached Video","usr_send_message":"Send Message","user_no_message":"No Message","user_delete_message_msg":"Delete This Message","user_forgot_message":"Forgot password","user_forgot_message_2":"Dont Worry, recover it now","user_pass_reset_msg":"Password Reset","user_pass_forgot_msg":"if you have forgot your password, please enter you username and verification code in the box, and password reset instructions will be sent to your mail box.","user_veri_code":"Verification Code","user_reocover_user":"Recover Username","user_user_forgot_msg":"Forgot Username?","user_recover":"Recover","user_reset":"Reset","user_inactive_msg":"Your account is inactive, please activate your account by going to activation page<\/a>","user_dashboard":"Dash Board","user_manage_prof_chnnl":"Manage Profile & Channel","user_manage_friends":"Manage Friends & Contacts","user_prof_channel":"Profile\/Channel","user_message_box":"Message Box","user_new_messages":"New Messages","user_goto_inbox":"Go to Inbox","user_goto_sentbox":"Go to Sent Box","user_compose_new":"Compose New Messages","user_total_subs_users":"Total Subscribed Users","user_you_have":"You Have","user_fav_videos":"Favorite Videos","user_your_vids_watched":"Your Videos Watched","user_times":"Times","user_you_have_watched":"You Have Watched","user_channel_profiles":"Channel and Profile","user_channel_views":"Channel Views","user_channel_comm":"Channel Comments ","user_manage_prof":"Manage Profile \/ Channel","user_you_created":"You Have Created","user_you_joined":"You Have Joined","user_create_group":"Create New Group","user_manage_my_account":"Manage My Account ","user_manage_my_videos":"Manage My Videos","user_manage_my_channel":"Manage My Channel","user_sent_box":"My sent items","user_manage_channel":"Manage Channel","user_manage_my_contacts":"Manage My Contacts","user_manage_contacts":"Manage Contacts","user_manage_favourites":"Manage Favourite Videos","user_mem_login":"Members Login","user_already_have":"Please Login Here if You Already have an account of","user_forgot_username":"Forgot Username","user_forgot_password":"Forgot Password","user_create_your":"Create Your ","user_all_fields_req":"All Fields Are Required","user_valid_email_addr":"Valid Email Address","user_allowed_format":"Letters A-Z or a-z , Numbers 0-9 and Underscores _","user_confirm_pass":"Confirm Password","user_reg_msg_0":"Register as ","user_reg_msg_1":"member, its free and easy just fill out the form below","user_date_of_birth":"Date Of Birth","user_enter_text_as_img":"Enter Text As Seen In The Image","user_refresh_img":"Refresh Image","user_i_agree_to_the":"I Agree to Terms of Service<\/a> and Privacy Policy<\/a>","user_thanks_for_reg":"Thank You For Registering on ","user_email_has_sent":"An email has been sent to your inbox containing Your Account","user_and_activation":"& Activation","user_details_you_now":"Details. You may now do the following things on our network","user_upload_share_vds":"Upload, Share Videos","user_make_friends":"Make Friends","user_send_messages":"Send Messages","user_grow_your_network":"Grow Your Networks by Inviting more Friends","user_rate_comment":"Rate and Comment Videos","user_make_customize":"Make and Customize Your Channel","user_to_upload_vid":"To Upload Video, You Need to Activate your account first, activation details has been sent to your email account, it may take sometimes to reach your inbox","user_click_to_login":"Click here To Login To Your Account","user_view_my_channel":"View My Channel","user_change_pass":"Change Password","user_email_settings":"Email Settings","user_profile_settings":"Profile Settings","user_usr_prof_chnl_edit":"User Profile & Channel Edit","user_personal_info":"Personal Information","user_fname":"First Name","user_lname":"Last Name","user_gender":"Gender","user_relat_status":"Relationship Status","user_display_age":"Display Age","user_about_me":"About Me","user_website_url":"Website Url","user_eg_website":"e.g www.cafepixie.com","user_prof_info":"Professional Information","user_education":"Education","user_school_colleges":"Schools \/ Colleges","user_occupations":"Occupation(s)","user_companies":"Companies","user_sperate_by_commas":"seperate with commas","user_interests_hobbies":"Interests and Hobbies","user_fav_movs_shows":"Favorite Movies & Shows","user_fav_music":"Favorite Music","user_fav_books":"Favorite Books","user_user_avatar":"User Avatar","user_upload_avatar":"Upload Avatar","user_channel_info":"Channel Info","user_channel_title":"Channel Title","user_channel_description":"Channel Description","user_channel_permission":"Channel Permissions","user_allow_comments_msg":"users can comment","user_dallow_comments_msg":"users cannot comment","user_allow_rating":"Allow Rating","user_dallow_rating":"Do Not Allow Rating","user_allow_rating_msg1":"users can rate","user_dallow_rating_msg1":"users cannot rate","user_channel_feature_vid":"Channel Featured Video","user_select_vid_for_fr":"Select Video To set as Featured","user_chane_channel_bg":"Change Channel Background","user_remove_bg":"Remove Background","user_currently_you_d_have_pic":"Currently You Don’t Have a Background Picture","user_change_email":"Change Email","user_email_address":"Email Address","user_new_email":"New Email","user_notify_me":"Notify Me When User Sends Me A Message","user_old_pass":"Old Password","user_new_pass":"New Password","user_c_new_pass":"Confirm New Password","user_doesnt_exist":"User Doesn’t Exist","user_do_not_have_contact":"User Does Not Have Any Contacts","user_no_fav_video_exist":"User does not have any Favorite Videos selected","user_have_no_vide":"User doesn't have any videos","user_s_channel":"%s’s Channel ","user_last_login":"Last Login","user_send_message":"Send Message","user_add_contact":"Add Contact","user_dob":"DoB","user_movies_shows":"Movies & Shows","user_add_comment":"Add Comment ","user_view_all_comments":"View All Comments","user_no_fr_video":"User Has Not Selected Any Video To Set As Featured","user_view_all_video_of":"View All Videos of ","menu_home":"Home","menu_videos":"Videos","menu_upload":"Upload","menu_signup":"SignUp","menu_account":"Account","menu_groups":"Groups","menu_channels":"Channels","menu_community":"Community","menu_inbox":"Inbox","vdo_cat_err2":"You cannot select more than %d categories","user_subscribe_message":"Hello %subscriber%\nYou Have Subscribed To %user% and therefore this message is sent to you automatically, because %user% Has Uploaded a New Video\n\n%website_title%","user_subscribe_subject":"%user% has uploaded a new video","you_already_logged":"You are already logged in","you_not_logged_in":"You are not logged in","invalid_user":"Invalid User","vdo_cat_err3":"Please select at least 1 category","embed_code_invalid_err":"Invalid video embed code","invalid_duration":"Invalid duration","vid_thumb_changed":"Video default thumb has been changed","vid_thumb_change_err":"Video thumbnail was not found","upload_vid_thumbs_msg":"All video thumbs have been uploaded","video_thumb_delete_msg":"Video thumb has been deleted","video_thumb_delete_err":"Could not delete video thumb","no_comment_del_perm":"You dont have permission to delete this comment","my_text_context":"My test context","user_contains_disallow_err":"Username contains disallowed characters","add_cat_erro":"Category already exists","add_cat_no_name_err":"Please enter a name for the category","cat_default_err":"Default cannot be deleted, please choose another category as “default” and then delete this one","pic_upload_vali_err":"Please upload valid JPG, GIF or PNG image","cat_dir_make_err":"Unable to create the category thumb directory","cat_set_default_ok":"Category has been set as default","vid_thumb_removed_msg":"Video thumbs have been removed","vid_files_removed_msg":"Video files have been removed","vid_log_delete_msg":"Video log has been deleted","vdo_multi_del_erro":"Videos has have been deleted","add_fav_message":"This %s has been added to your favorites","obj_not_exists":"%s does not exist","already_fav_message":"This %s is already added to your favorites","obj_report_msg":"This %s has been reported","obj_report_err":"You have already reported this %s","user_no_exist_wid_username":"‘%s’ does not exist","share_video_no_user_err":"Please enter usernames or emails to send this %s","uploaded":"Uploaded","today":"Today","yesterday":"Yesterday","thisweek":"This Week","lastweek":"Last Week","thismonth":"This Month","lastmonth":"Last Month","thisyear":"This Year","lastyear":"Last Year","favorites":"Favorites","alltime":"All Time","insufficient_privileges_loggin":"You cannot access this page Click Here to Login or Register","profile_title":"Profile Title","show_dob":"Show Date of Birth","profile_tags":"Profile Tags","profile_desc":"Profile Description","online_status":"User Status","show_profile":"Show Profile","allow_ratings":"Allow Profile Ratings","postal_code":"Postal Code","temp_file_load_err":"Unable to load tempalte file ‘%s’ in directory ‘%s’","no_date_provided":"No date provided","second":"second","minute":"minute","bad_date":"Never","users_videos":"%s’s Videos","please_login_subscribe":"Please login to Subsribe %s","users_subscribers":"%s’s Subscribers","user_no_subscribers":"%s has no subsribers","user_subscriptions":"%s’s Subscriptions","user_no_subscriptions":"%s has no subscriptions","usr_avatar_bg_update":"User avatar and background have been updated","user_email_confirm_email_err":"Confirm email mismatched","email_change_msg":"Email has been changed successfully","no_edit_video":"You cannot edit this video","confirm_del_video":"Are you sure you want to delete this video ?","remove_fav_video_confirm":"Are you sure you want to remove this video from your favorites ?","fav_remove_msg":"%s has been removed from your favorites","unknown_favorite":"Unknown favorite %s","vdo_multi_del_fav_msg":"Videos have been removed from your favorites","unknown_sender":"Unknown Sender","please_enter_message":"Please enter something for message","unknown_reciever":"Unknown reciever","no_pm_exist":"Private message does not exist","pm_sent_success":"Private message has been sent successfully","msg_delete_inbox":"Message has been deleted from inbox","msg_delete_outbox":"Message has been deleted from your outbox","private_messags_deleted":"Private messages have been deleted","ban_users":"Ban Users","spe_users_by_comma":"separate usernames by comma","user_ban_msg":"User block list has been updated","no_user_ban_msg":"No user is banned from your account!","thnx_sharing_msg":"Thanks for sharing this %s","no_own_commen_rate":"You cannot rate your own comment","no_comment_exists":"Comment does not exist","thanks_rating_comment":"Thanks for rating comment","please_login_create_playlist":"Please login to creat playlists","user_have_no_playlists":"User has no playlists","play_list_with_this_name_arlready_exists":"Playlist with name ‘%s’ already exists","please_enter_playlist_name":"Please enter playlist name","new_playlist_created":"New playlist has been created","playlist_not_exist":"Playlist does not exist","playlist_item_not_exist":"Playlist item does not exist","playlist_item_delete":"Playlist item has been deleted","play_list_updated":"Playlist has been updated","you_dont_hv_permission_del_playlist":"You do not have permission to delete the playlist","playlist_delete_msg":"Playlist has been deleted","playlist_name":"Playlist Name","add_new_playlist":"Add Playlist","this_thing_added_playlist":"This %s has been added to playlist","this_already_exist_in_pl":"This %s already exists in your playlist","edit_playlist":"Edit Playlist","remove_playlist_item_confirm":"Are you sure you want to remove this from your playlist","remove_playlist_confirm":"Are you sure you want to delete this playlist?","avcode_incorrect":"Activation code is incorrect","group_join_login_err":"Please login in order to join this group","manage_playlist":"Manage playlist","my_notifications":"My notifications","users_contacts":"%s’s contacts","type_flags_removed":"%s flags have been removed","terms_of_serivce":"Terms of services","users":"Users","login_to_mark_as_spam":"Please login to mark as spam","no_own_commen_spam":"You cannot mark your own comment as spam","already_spammed_comment":"You have already marked this comment as spam","spam_comment_ok":"Comment has been marked as spam","arslan_hassan":"Arslan Hassan","you_not_allowed_add_grp_vids":"You are not member of this group so cannot add videos","sel_vids_updated":"Selected videos have been updated","unable_find_download_file":"Unable to find download file","you_cant_edit_group":"You cannot edit this group","you_cant_invite_mems":"You cannot invite members","you_cant_moderate_group":"You cannot moderate this group","page_doesnt_exist":"Page does not exist","pelase_select_img_file_for_vdo":"Please select image file for video thumb","new_mem_added":"New member has been added","this_vdo_not_working":"This video might not work properly","email_template_not_exist":"Email template does not exist","email_subj_empty":"Email subject was empty","email_msg_empty":"Email message was empty","email_tpl_has_updated":"Email Template has been updated","page_name_empty":"Page name was empty","page_title_empty":"Page title was empty","page_content_empty":"Page content was empty","new_page_added_successfully":"New page has been added successfully","page_updated":"Page has been updated","page_deleted":"Page has been deleted successfully","page_activated":"Page has been activated","page_deactivated":"Page has been deactivated","you_cant_delete_this_page":"You cannot delete this page","ad_placement_err4":"Placement does not exist","grp_details_updated":"Group details have been updated","you_cant_del_topic":"You cannot delete this topic","you_cant_del_user_topics":"You cannot delete user topics","topics_deleted":"Topics have been deleted","you_cant_delete_grp_topics":"You cannot delete group topics","you_not_allowed_post_topics":"You are not allowed to post topics","you_cant_add_this_vdo":"You cannot add this video","video_added":"Video has been added","you_cant_del_this_vdo":"You cannot remove this video","video_removed":"Video has been removed","user_not_grp_mem":"User is not group member","user_already_group_mem":"User has already joined this group","invitations_sent":"Invitations have been sent","you_not_grp_mem":"You are not a member of this group","you_cant_delete_this_grp":"You cannot delete this group","grp_deleted":"Group has been deleted","you_cant_del_grp_mems":"You cannot delete group members","mems_deleted":"Members have been deleted","you_cant_del_grp_vdos":"You cannot delete group videos","thnx_for_voting":"Thanks for voting","you_hv_already_rated_vdo":"You have already rated this video","please_login_to_rate":"Please login to rate","you_not_subscribed":"You are not subscribed","you_cant_delete_this_user":"You cannot delete this user”","you_dont_hv_perms":"You don't have sufficient permissions","user_subs_hv_been_removed":"User subscriptions have been removed","user_subsers_hv_removed":"User subscribers have been removed","you_already_sent_frend_request":"You have already sent friend request","friend_added":"Friend has been added","friend_request_sent":"Friend request has been sent","friend_confirm_error":"Either the user has not requested your friend request or you have already confirmed it","friend_confirmed":"Friend has been confirmed","friend_request_not_found":"No friend request found","you_cant_confirm_this_request":"You cannot confirm this request","friend_request_already_confirmed":"Friend request is already confirmed","user_no_in_contact_list":"User is not in your contact list","user_removed_from_contact_list":"User has been removed from your contact list","cant_find_level":"Cannot find level","please_enter_level_name":"Please enter level name","level_updated":"Level has been updated","level_del_sucess":"User level has been deleted, all users of this level has been transfered to %s","level_not_deleteable":"This level is not deletable","pass_mismatched":"Passwords Mismatched","user_blocked":"User has been blocked","user_already_blocked":"User is already blocked","you_cant_del_user":"You cannot block this user","user_vids_hv_deleted":"User videos have been deleted","user_contacts_hv_removed":"User contacts have been removed","all_user_inbox_deleted":"All User inbox messages have been deleted","all_user_sent_messages_deleted":"All user sent messages have been deleted","pelase_enter_something_for_comment":"Please type something in a comment box","please_enter_your_name":"Please enter your name","please_enter_your_email":"Please enter your email","template_activated":"Template has been activated","error_occured_changing_template":"An error occured while changing the template","phrase_code_empty":"Phrase code was empty","phrase_text_empty":"Phrase text was empty","language_does_not_exist":"Language does not exist","name_has_been_added":"%s has been added","name_already_exists":"‘%s’ already exist","lang_doesnt_exist":"language does not exist","no_file_was_selected":"No file was selected","err_reading_file_content":"Error reading file content","cant_find_lang_name":"Cant find language name","cant_find_lang_code":"Cant find language code","no_phrases_found":"No phrases were found","language_already_exists":"Language already exists","lang_added":"Language has been added successfully","error_while_upload_file":"Error occured while uploading language file","default_lang_del_error":"This is the default language, please select another language as “default” and then delete this pack","lang_deleted":"Language pack has been deleted","lang_name_empty":"Language name was empty","lang_code_empty":"Language code was empty","lang_regex_empty":"Language regular expression was empty","lang_code_already_exist":"Language code already exists","lang_updated":"Language has been updated","player_activated":"Player has been activated","error_occured_while_activating_player":"An error occured while activating player","plugin_has_been_s":"Plugin has been %s","plugin_uninstalled":"Plugin has been Uninstalled","perm_code_empty":"Permission code is empty","perm_name_empty":"Permission name is empty","perm_already_exist":"Permission already exists","perm_type_not_valid":"Permission type is not valid","perm_added":"New Permission has been added","perm_deleted":"Permission has been deleted","perm_doesnt_exist":"Permission does not exist","acitvation_html_message":"Please enter your username and activation code in order to activate your account, please check your inbox for the Activation code, if you didn't get one, please request it by filling the next form","acitvation_html_message2":"Please enter your email address to request your activation code","admin_panel":"Admin Panel","moderate_videos":"Moderate Videos","moderate_users":"Moderate Users","revert_back_to_admin":"Revert back to admin","more_options":"More Options","downloading_string":"Downloading %s ...","download_redirect_msg":"click here if you don't redirect automatically<\/a> - Click Here to Go Back to Video Page<\/a>","account_details":"Account Details","profile_details":"Profile Details","update_profile":"Update Profile","please_select_img_file":"Please select image file","or":"or","pelase_enter_image_url":"Please Enter Image URL","user_bg":"Channel Background","user_bg_img":"Channel Background Image","please_enter_bg_color":"Please Enter Background Color","bg_repeat_type":"Background Repeat Type (if using image as a background)","fix_bg":"Fix Background","delete_this_img":"Delete this image","current_email":"Current Email","confirm_new_email":"Confirm New Email","no_subs_found":"No subscriptions found","video_info_all_fields_req":"Video Information - All fields are required","update_group":"Update Group","default":"Default","grp_info_all_fields_req":"Group Information - All Fields Are Required","date_recorded_location":"Date recorded & Location","update_video":"Update Video","click_here_to_recover_user":"Click here to recover username","click_here_reset_pass":"Click here to reset password","remember_me":"Remember Me","howdy_user":"Howdy %s","notifications":"Notifications","playlists":"Playlists","friend_requests":"Friend Requests","after_meny_guest_msg":"Welcome Guest ! Please Login<\/a> or Register<\/a>","being_watched":"Being Watched","change_style_of_listing":"Change Style of Listing","website_members":"%s Members","guest_homeright_msg":"Watch, Upload, Share and more","reg_for_free":"Register for free","rand_vids":"Random Videos","t_10_users":"Top 10 Users","pending":"Pending","confirm":"Confirm","no_contacts":"No Contacts","you_dont_hv_any_grp":"You do not have any groups","you_dont_joined_any_grp":"You have not joined any groups","leave_groups":"Leave Groups","manage_grp_mems":"Manage Group Members","pending_mems":"Pending Members","active_mems":"Active Members","disapprove":"Disapprove","manage_grp_vids":"Manage Group Videos","pending_vids":"Pending Videos","no_pending_vids":"No Pending Videos","no_active_videos":"No Active Videos","active_videos":"Active Videos","manage_playlists":"Manage Playlists","total_items":"Total Items","play_now":"PLAY NOW","no_video_in_playlist":"This playlist has no video","view":"View","you_dont_hv_fav_vids":"You do not have any favorite videos","private_messages":"Private Messages","new_private_msg":"New private message","search_for_s":"Search For %s","signup_success_usr_ok":"

Just One More Step<\/h2> \t

Your are just one step behind from becoming an official memeber of our website. Please check your email, we have sent you a confirmation email which contains a confirmation link from our website, Please click it to complete your registration.<\/p>","signup_success_usr_emailverify":"

Welcome To our community<\/h2>\r\n \t

Your email has been confirmed, Please click here to login<\/a><\/strong> and continue as our registered member.<\/p>","if_you_already_hv_account":"if you already have an account, please login here ","signup_message_under_login":"

Our website is the home for video online:<\/p>\r\n \r\n