<commit_before><?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| https://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: gallery/photo_submit.php
| Author: PHP-Fusion Development Team
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (file_exists(INFUSIONS."gallery/locale/".LOCALESET."gallery_admin.php")) {
	include INFUSIONS."gallery/locale/".LOCALESET."gallery_admin.php";
} else {
	include INFUSIONS."gallery/locale/English/gallery_admin.php";
}
add_to_title($locale['global_200'].$locale['gallery_0100']);
$gll_settings = get_settings("gallery");
opentable("<i class='fa fa-camera-retro m-r-5 fa-lg'></i> ".$locale['gallery_0100']);
if ($gll_settings['gallery_allow_submission']) {
	$criteriaArray = array(
		"album_id" => 0,
		"photo_title" => "",
		"photo_description" => "",
		"photo_filename" => "",
		"photo_thumb1" => "",
		"photo_thumb2" => "",
		"photo_keywords" => "",
	);<commit_msg>added in_fusion check<commit_after><?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| https://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: gallery/photo_submit.php
| Author: PHP-Fusion Development Team
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

if (file_exists(INFUSIONS."gallery/locale/".LOCALESET."gallery_admin.php")) {
	include INFUSIONS."gallery/locale/".LOCALESET."gallery_admin.php";
} else {
	include INFUSIONS."gallery/locale/English/gallery_admin.php";
}

add_to_title($locale['global_200'].$locale['gallery_0100']);
$gll_settings = get_settings("gallery");
opentable("<i class='fa fa-camera-retro m-r-5 fa-lg'></i> ".$locale['gallery_0100']);
if ($gll_settings['gallery_allow_submission']) {
	$criteriaArray = array(
		"album_id" => 0,
		"photo_title" => "",
		"photo_description" => "",
		"photo_filename" => "",
		"photo_thumb1" => "",
		"photo_thumb2" => "",
		"photo_keywords" => "",
	);
{'fraction_non_alphanumeric': 0.2848585690515807, 'fraction_numerical': 0.009983361064891847, 'mean_word_length': 2.5075845974329054, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 21, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4208962', 'n_tokens_mistral': 907, 'n_tokens_neox': 839, 'n_words': 200}