

var smf_themeInfo = {

	2921: {

		name: 'SunRise',

		desc: '<div align="center"><img src="https://1.bp.blogspot.com/-15DJlTxdlL8/W3lLTIY1UYI/AAAAAAAAE1M/RcaOK15CHx0JFljp98Zc0yDHronpmPgTACK4BGAYYCw/s1600/portfolio_thumbnail.gif" alt="" class="bbc_img" /><br /><img src="https://2.bp.blogspot.com/-rYJzO-U017o/W4F4j3xzpaI/AAAAAAAAE2E/O9wOS2rZlcoLF-l4tNTUE6yausvbG8FqwCK4BGAYYCw/s1600/sr_remake_1.png" alt="" class="bbc_img" /><br /><br /><strong><span style="font-size: 14pt;" class="bbc_size">SunRise SMF Theme</span></strong><br /><hr /><strong>Author</strong>: <a href="https://sycho9.github.io/?ref=sunrise" class="bbc_link" target="_blank" rel="noopener noreferrer">SychO</a><br /><strong>Languages</strong>: <strong>English</strong>, <strong>French</strong>, <strong>Spanish</strong>(by <a href="https://www.simplemachines.org/community/index.php?P=vhockckg1m9rc3e95lgetqeelr&amp;action=profile;u=322597" class="bbc_link" target="_blank" rel="noopener noreferrer">Rock Lee</a>), <strong>Polish</strong>(by <a href="https://www.simplemachines.org/community/index.php?P=vhockckg1m9rc3e95lgetqeelr&amp;action=profile;u=597100" class="bbc_link" target="_blank" rel="noopener noreferrer">UltimatePremium</a>), <strong>Russian</strong>(by <a href="https://www.simplemachines.org/community/index.php?P=vhockckg1m9rc3e95lgetqeelr&amp;action=profile;u=598285" class="bbc_link" target="_blank" rel="noopener noreferrer">Whyskas</a>)<br /><br /><strong>SunRise </strong>is a Free, Minimalist &amp; Responsive SMF Theme, With Light &amp; Dark Modes<br /><br /><span style="color: red;" class="bbc_color">NOTICE: Some Pages/Tables May not be responsive</span><br />Color Palettes:<br />Light <span style="color: #ff6120;" class="bbc_color">█</span> <span style="color: #d5d5d5;" class="bbc_color">█</span> <span style="color: white;" class="bbc_color">█</span> Dark <span style="color: #0073AB;" class="bbc_color">█</span> <span style="color: #0D0E10;" class="bbc_color">█</span> <span style="color: #15161a;" class="bbc_color">█</span><br /><br /><br /><img src="https://3.bp.blogspot.com/-adLQcu5uf_c/W3W7pHZnrYI/AAAAAAAAEzM/JObmpKj5CD0NbHSeNIJwqQYLI9AbZtq7ACK4BGAYYCw/s1600/sr_mockup_sunrise.jpg" alt="" width="330" class="bbc_img resized" /><img src="https://1.bp.blogspot.com/-te5fkSl9EsU/W3W7o8IyePI/AAAAAAAAEzI/FszB5atykAIKDMilqO6YAf-RF-B4gAOjwCK4BGAYYCw/s1600/sr_mockup_midnight.jpg" alt="" width="330" class="bbc_img resized" /><br /><br /></div><div align="center"><a href="https://www.buymeacoffee.com/sycho" class="bbc_link" target="_blank" rel="noopener noreferrer"><img src="https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2F3.bp.blogspot.com%2F-xfMAxEcWwRE%2FW3lLSxJQzeI%2FAAAAAAAAE1A%2FY-IKYUMvtNcGtyNUTe-fo_FnHCuhfwMRACK4BGAYYCw%2Fs1600%2Fflat_buttons_donate.png&hash=72bbdd22c342bf2ed938a464436dd9f755476068" alt="" class="bbc_img" /></a></div><hr /><div align="center"><span class="bbc_u"><strong>Mods Supported</strong></span><br /><img src="https://2.bp.blogspot.com/-q5NEI-ID9ZI/W3iAk5E4QvI/AAAAAAAAE0k/C9JMyfnxM7kwrqAQDR57f-lsk0PexPdjgCK4BGAYYCw/s1600/if_plus_1646001.png" alt="" width="10" class="bbc_img resized" /> <strong>SimplePortal</strong><br /><img src="https://2.bp.blogspot.com/-q5NEI-ID9ZI/W3iAk5E4QvI/AAAAAAAAE0k/C9JMyfnxM7kwrqAQDR57f-lsk0PexPdjgCK4BGAYYCw/s1600/if_plus_1646001.png" alt="" width="10" class="bbc_img resized" /> <strong>Like Posts</strong> by<a href="https://www.simplemachines.org/community/index.php?P=vhockckg1m9rc3e95lgetqeelr&amp;action=profile;u=24876" class="bbc_link" target="_blank" rel="noopener noreferrer"><em> vbgamer45</em></a><br /><img src="https://2.bp.blogspot.com/-q5NEI-ID9ZI/W3iAk5E4QvI/AAAAAAAAE0k/C9JMyfnxM7kwrqAQDR57f-lsk0PexPdjgCK4BGAYYCw/s1600/if_plus_1646001.png" alt="" width="10" class="bbc_img resized" /> <strong>Tagging System For Topics</strong> by<a href="https://www.simplemachines.org/community/index.php?P=vhockckg1m9rc3e95lgetqeelr&amp;action=profile;u=24876" class="bbc_link" target="_blank" rel="noopener noreferrer"><em> vbgamer45</em></a></div><hr /><strong><span class="bbc_u">ChangeLog</span></strong><br /><strong>Version 2.0.4 [08/09/2020]</strong><br />-----------------------<br />!Fixed performance issue<br /><br /><strong>Version 2.0.3 [10/12/2019]</strong><br />! Updated FontAwesome to 5.11.2<br />! Fixed a couple of minor bugs<br /><br /><strong>Version 2.0.2 [05/29/2019]</strong><br />! Fixed an error on php 5.4<br /><br /><strong>Version 2.0.1 [04/24/2019]</strong><br />! Fixed a bug with custom fields on topic view<br /><br /><strong>Version 2.0 [04/16/2019]</strong><br />+ Added options to disable some of the graphics<br />+ Added option to force one of the layouts on members<br />+ Added options to manipulate the avatars on topics and boards<br />- Removed google+ from social media links<br />! Some code cleanup<br />! Updated the FontAwesome library<br />+ Added option to switch between two logos<br /><br /><strong>28/01/2019</strong><br />! Fixed auto suggest list not visible<br /><br /><strong>09/11/2018</strong><br />! Big CSS Code Cleanup<br />+ Added Instant tooltip change of light/dark modes switcher<br /><br /><strong>27/10/2018</strong><br />+ Added Russian Translation by Whyskas<br /><br /><strong>04/10/2018</strong><br />+ Added Polish Translation by UltimatePremium<br />+ Added Credits for Translators in the theme settings page.<br /><br /><strong>27/09/2018</strong><br />! Fixed old text strings appearing instead of theme specified ones.<br /><br /><strong>26/09/2018 #1</strong><br />! Added explanatory text for brand icon types.<br />! Added support for brand icon types.<br /><br /><strong>26/09/2018</strong><br />+ Added Spanish Translation by Rock Lee<br />! Fixed Browser compatibility issues with topic option dropmenu (Opera &amp; IE)<br /><br /><strong>24/09/2018</strong><br />! Fixed header buttons not showing with banner images, credit goes to Antechinus.<br />! Fixed broken guest default avatar.<br /><hr /><div class="quoteheader"><div class="topslice_quote">Quote</div></div><blockquote class="bbc_standard_quote">Copyright (C) 2018 SychO (M.S)<br />This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, But you may not remove the author&#039;s copyrights; either version 2 of the License, or (at your option) any later version.<br />This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<br />You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA<br />-----------------<br />Fugue Icons | © 2012 Yusuke Kamiyamane | These icons are licensed under a Creative Commons Attribution 3.0 License<br />Oxygen Icons | These icons are licensed under GNU LGPLv3<br />Footer Image Author : pixelz.cc<br />jQuery.marquee : @author Aamir Afridi - aamirafridi@gmail.com / <a href="http://aamirafridi.com/jquery/jquery-marquee-plugin" class="bbc_link" target="_blank" rel="noopener noreferrer">http://aamirafridi.com/jquery/jquery-marquee-plugin</a><br />Tooltipster, Developed and maintained by Caleb Jacob and Louis Ameline under the MIT license<br />-----------------</blockquote><div class="quotefooter"><div class="botslice_quote"></div></div>',

		file: 'SunRise20.zip',

		author: 'SychO'

	},

	2955: {

		name: 'SociWT Theme',

		desc: '<span style="font-size: 14pt;" class="bbc_size"><strong>SociWT Theme</strong></span><br /><br /><span style="font-size: 14pt;" class="bbc_size"><strong>Screenshots</strong></span><br /><br /><div align="center"><img src="https://i.ibb.co/sq6FzGr/beyaz.png" alt="" width="350" class="bbc_img resized" /><img src="https://i.ibb.co/jG0LBTG/siyah.png" alt="" width="350" class="bbc_img resized" /></div><br /><span style="font-size: 14pt;" class="bbc_size"><strong>License</strong></span><br />The MIT License.<br /><br /><strong>26.02.2021</strong><br />Theme Updated to Black and White<br />Admin-Configuration-Current Theme-Default theme variant: style1/style2',

		file: 'SociWT.zip',

		author: 'gecitli'

	},

	2953: {

		name: 'Potato',

		desc: '<strong><span style="font-size: 18pt;" class="bbc_size">Potato Theme</span></strong><br /><a href="https://github.com/SychO9/smf-potato-theme" class="bbc_link" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/smf--potato--theme-blue.svg?style=flat-square&amp;color=24292e&amp;logo=github" alt="" class="bbc_img" /></a> <img src="https://img.shields.io/github/v/release/SychO9/smf-potato-theme?include_prereleases&amp;sort=date&amp;style=flat-square" alt="" class="bbc_img" /> <img src="https://img.shields.io/badge/SMF-^2.1-blue.svg?style=flat-square&amp;color=ed6033" alt="" class="bbc_img" /> <img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat-square&amp;color=green" alt="" class="bbc_img" /><br /><br />The SMF Potato Theme that has nothing to do with potatoes.<br /><br /><strong>WARNING</strong>: <span style="color: red;" class="bbc_color">Does not work with ancient browsers. Compatible with SMF2.1 RC3+</span><br /><br /><a href="https://www.buymeacoffee.com/sycho" class="bbc_link" target="_blank" rel="noopener noreferrer"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="" width="217" height="60" class="bbc_img resized" /></a><br /><br /><strong><span style="font-size: 14pt;" class="bbc_size">Screenshots</span></strong><br /><div align="center"><img src="https://user-images.githubusercontent.com/20267363/88466387-aa571600-cec3-11ea-956a-50fc83719546.png" alt="" width="350" class="bbc_img resized" /><img src="https://user-images.githubusercontent.com/20267363/88466373-96131900-cec3-11ea-925e-ce624a7d08db.png" alt="" width="350" class="bbc_img resized" /><br /></div><br /><strong><span style="font-size: 14pt;" class="bbc_size">Installation</span></strong><br />Download <a href="https://github.com/SychO9/smf-potato-theme/releases" class="bbc_link" target="_blank" rel="noopener noreferrer">the latest release</a> package and upload it to your forum&#039;s theme section.<br /><br /><strong><span style="font-size: 14pt;" class="bbc_size">Updating</span></strong><br />To update the theme, you can either manually apply the changes to the theme&#039;s files, or overwrite the theme files with files from a new release package.<br /><br /><strong><span style="font-size: 12pt;" class="bbc_size">Overwriting files with new release package files</span></strong><br />This means that any custom file edits you may have made to the theme or any mod&#039;s modifications to the theme files will be lost, the former is not a problem as long as you remember your custom edits. The latter can create big problems with your forum setup.<br /><br />So the only way for you to update the theme this way, is for you to avoid installing mods that edit the theme&#039;s files and make sure the theme&#039;s files are untouched.<br /><br /><strong><span style="font-size: 12pt;" class="bbc_size">Manually updating</span></strong><br />If for whatever reason you cannot leave the theme files untouched, the only other way is for you to make the theme edits made from your version to the latest.<br /><br />To list these edits, simply use the following URL by replacing the `VERSION` by your theme&#039;s version number and `NEW_VERSION` by the latest version number which you can see in <a href="https://github.com/SychO9/smf-potato-theme/releases" class="bbc_link" target="_blank" rel="noopener noreferrer">the releases page</a>.<br /><br />`https://github.com/SychO9/smf-potato-theme/compare/VERSION...NEW_VERSION`<br /><br /><strong><span style="font-size: 12pt;" class="bbc_size">License</span></strong><br />The MIT License.<br /><br /><strong><span style="font-size: 12pt;" class="bbc_size">Donate</span></strong><br />Support the project by <a href="https://www.buymeacoffee.com/sycho" class="bbc_link" target="_blank" rel="noopener noreferrer">Donating</a>.',

		file: 'potato_0.1.1.tar.gz',

		author: 'SychO'

	},

	2950: {

		name: 'Jane [Responsive]',

		desc: 'A very simple plane Jane responsive theme for SMF 2.0. Has your social media follow buttons, flat design and minimal. Our style is clean, flat and professional. When you see our design out there, you&#039;ll know where it came from, idesignSMF.com This theme is free for personal and commercial use. You are allowed to use it in your projects, change it and adapt for your purposes. You are not allowed to remove the authorship and link to idesignsSMF.com<br /><br />**<a href="https://www.idesignsmf.com/demo/index.php?theme=13" class="bbc_link" target="_blank" rel="noopener noreferrer">Demo</a>',

		file: 'jane-v1.zip',

		author: 'BlueDevil'

	},

	2202: {

		name: 'Hayal',

		desc: 'Hayal Theme<br /><br />SMF 2.0 RC3<br /><br />',

		file: 'hayal.zip',

		author: 'N a t i'

	}

};

var smf_featured = 2921;

var smf_random = 2202;

var smf_latestThemes = [2955, 2953, 2950];

function smf_themesMoreInfo(id)

{

	window.smfLatestThemes_temp = document.getElementById("smfLatestThemesWindow").innerHTML;



	// !!! Why not just always auto?

	document.getElementById("smfLatestThemesWindow").style.overflow = "auto";

	setInnerHTML(document.getElementById("smfLatestThemesWindow"),

	'\

		<h3 style="margin: 0; padding: 4px;">' + smf_themeInfo[id].name + '</h3>\

		<h4 style="margin: 0;padding: 4px;"><a href="https://custom.simplemachines.org/themes/index.php?lemma=' + id + '">View Theme Now!</a></h4>\

		<div style="overflow: auto;">\

			<img src="https://custom.simplemachines.org/themes/index.php?action=download;lemma='+id+';image=thumb" alt="" style="float: right; margin: 10px;" />\

			<div style="padding:8px;">' + smf_themeInfo[id].desc.replace(/<a href/g, '<a href') + '</div>\

		</div>\

		<div style="padding: 4px;" class="smalltext"><a href="javascript:smf_themesBack();void(0);">(go back)</a></div>');

}



function smf_themesBack()

{

	document.getElementById("smfLatestThemesWindow").style.overflow = "";

	setInnerHTML(document.getElementById("smfLatestThemesWindow"), window.smfLatestThemes_temp);

	window.scrollTo(0, findTop(document.getElementById("smfLatestThemesWindow")) - 10);

}



window.smfLatestThemes = '\

	<div id="smfLatestThemesWindow">\

		<div>\

			<img src="https://www.simplemachines.org/smf/images/themes.png" width="102" height="98" style="float: right; margin: 0 0 10px 10px;" alt="(package)" />\

			<ul style="list-style: none; padding: 0; margin: 0 0 0 5px;">';

for(var i=0; i < smf_latestThemes.length; i++)

{

	var id_theme = smf_latestThemes[i];

	window.smfLatestThemes += '\

				<li style="list-style: none;"><a href="javascript:smf_themesMoreInfo(' + id_theme + ');void(0);">' + smf_themeInfo[id_theme].name + ' by ' + smf_themeInfo[id_theme].author + '</a></li>';

}



window.smfLatestThemes += '\

			</ul>';

if ( smf_featured !=0 || smf_random != 0 )

{



	if ( smf_featured != 0 )

		window.smfLatestThemes += '\

				<h4 style="padding: 4px 4px 0 4px; margin: 0;">Featured Theme</h4>\

				<p style="padding: 0 4px; margin: 0;">\

					<a href="javascript:smf_themesMoreInfo('+smf_featured+');void(0);">'+smf_themeInfo[smf_featured].name + ' by ' + smf_themeInfo[smf_featured].author+'</a>\

				</p>';

	if ( smf_random != 0 )

		window.smfLatestThemes += '\

				<h4 style="padding: 4px 4px 0 4px;margin: 0;">Theme of the Moment</h4>\

				<p style="padding: 0 4px; margin: 0;">\

					<a href="javascript:smf_themesMoreInfo('+smf_random+');void(0);">'+smf_themeInfo[smf_random].name + ' by ' + smf_themeInfo[smf_random].author+'</a>\

				</p>';

}

window.smfLatestThemes += '\

		</div>\

	</div>';



function findTop(el)

{

	if (typeof(el.tagName) == "undefined")

		return 0;



	var skipMe = in_array(el.tagName.toLowerCase(), el.parentNode ? ["tr", "tbody", "form"] : []);

	var coordsParent = el.parentNode ? "parentNode" : "offsetParent";



	if (el[coordsParent] == null || typeof(el[coordsParent].offsetTop) == "undefined")

		return skipMe ? 0 : el.offsetTop;

	else

		return (skipMe ? 0 : el.offsetTop) + findTop(el[coordsParent]);

}



function in_array(item, array)

{

	for (var i in array)

	{

		if (array[i] == item)

			return true;

	}



	return false;

}