2025-02-05 16:38:42 +00:00
var atiran _members = [
2025-02-05 17:45:52 +00:00
'https://midnadimple.com/' ,
'https://devraza.giize.com/' ,
'https://happybull.co.uk/'
2025-02-05 16:38:42 +00:00
]
2025-02-05 17:50:25 +00:00
var atiran _ringurl = "https://atiran.giize.com/" ;
2025-02-05 18:24:00 +00:00
var atiran _badgeurl = "https://atiran.giize.com/assets/badge.png" ;
2025-02-05 16:38:42 +00:00
var displayElement = document . getElementById ( "atiran" ) ;
var currentLocation = window . location . href ;
var siteIndex = atiran _members . indexOf ( currentLocation ) ;
if ( siteIndex == - 1 ) {
displayElement . innerHTML =
"<p>I am sorry, but the atiran display has failed to find you in the member list.<br />Please contact the webring administrator for support if you are the webmaster of this site and believe this to be in error.</p>" ;
}
else {
var beforeID ;
var afterID ;
if ( siteIndex == 0 ) { beforeID = atiran _members . length - 1 ; }
else { beforeID = siteIndex - 1 ; }
if ( siteIndex == atiran _members . length - 1 ) { afterID = 0 ; }
else { afterID = siteIndex + 1 ; }
var randomID ;
randomID = Math . floor ( Math . random ( ) * atiran _members . length ) ;
displayElement . innerHTML =
"<p><a href='" + atiran _ringurl + "'><img alt='Badge: atiran webring' src='" + atiran _badgeurl + "' /></a></br>" +
2025-02-05 17:57:59 +00:00
"<a href='" + atiran _members [ beforeID ] + "'><< Previous</a> |" +
" <a href='" + atiran _members [ randomID ] + "'>Random</a> |" +
" <a href='https://libre.town/creative/development/librering.xhtml'>About LibreRing</a> |" +
2025-02-05 18:52:19 +00:00
" <a href='" + atiran _members [ afterID ] + "'Next</a> Next>></p>" ;
2025-02-05 17:50:25 +00:00
}
2025-02-05 18:00:04 +00:00