photos.visiblepc.com
Open in
urlscan Pro
192.169.209.106
Public Scan
URL:
http://photos.visiblepc.com/
Submission: On November 26 via api from US — Scanned from US
Submission: On November 26 via api from US — Scanned from US
Form analysis
2 forms found in the DOMName: aspnetForm — POST AlbumHomeView.aspx
<form name="aspnetForm" method="post" action="AlbumHomeView.aspx" id="aspnetForm">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="hdNMOP2+h+NBaKOqMO+dwhqvwF1JMJhHS6eX11SUtQAXUMqcNgCbsZbiJP7DTHKrhpR+P532c4o8QC7ichuoN5r10y4=">
</div>
<script type="text/javascript">
//<![CDATA[
var fastBallEnabled = 'True'; //]]>
</script>
<div>
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="2A547E58">
<input type="hidden" name="__VIEWSTATEENCRYPTED" id="__VIEWSTATEENCRYPTED" value="">
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="Nr+KwrhYRNKDoTaPNcKwDj8G0RaR3Fg7sY9shY8Jbov9p1pUaq7CP7J7pLwFMlgQ4Z68z4OrLf7nrIf4dNo/rl3rHL8=">
</div>
<!-- Begin SmartDomain header -->
<!-- End SmartDomain header -->
<!-- Begin Application header -->
<!-- End Application header -->
<!-- wrapper style size is changed here. -->
<div id="wrapper" class="wrapper-liquid">
<div></div>
<div>
<div id="photo-header-wrapper">
<div class="photo-header-wrapper-header ">
<div class="top-links1">
<a id="ctl00_HeaderBar1_galleryHomeLink" href="/AlbumHomeView.aspx"><span id="ctl00_HeaderBar1_lblGalleryTitle">photos.visiblepc.com</span></a>
</div>
</div>
<div class="top-links2">
<span class="third-span">
<a id="ctl00_HeaderBar1_lnkLogin" href="https://account.secureserver.net/products/?accid=25&prog_id=307026"><img id="ctl00_HeaderBar1_headerLogin" src="//images.onlinephotofiler.com/login_v2.gif" align="absmiddle" style="border-width:0px;"> Login</a>
</span>
</div>
<div id="div-breadCrumbs">
<span id="ctl00_HeaderBar1_appBreadCrumbs_lblHeaderText" class="pageHeaderBarHeaderText"></span>
</div>
</div>
</div>
<!-- 'main' and 'main-top' are here for theme support -->
<div class="main-top"></div>
<div id="main">
<!-- Begin Content -->
<div id="photo-content" style="float: left;width: 745px; height: auto;">
<!-- Alert control -->
<div style="width: 100%; margin-bottom: 10px;" id="alertDiv">
<div id="alertControl" style="display: none;" class="alertShellInfo">
<div class="alertMessage">
<div id="alertTextDiv"></div>
</div>
<div class="alert-close-button"><input class="IconDeleteSilver" type="submit" value=""></div>
</div>
</div>
<!-- Ajax status -->
<div id="divLoadingStatus" class="loadingStatus" style="display: none;">Loading...</div>
<!-- Ajax error / reload option -->
<div id="divAjaxError" style="display:none;margin-left: 10px;"> An error occurred while getting information about your galleries. <span id="lnkTryAgain" style="cursor: pointer; text-decoration: underline;">Try getting my galleries
again.</span>
</div>
<!-- Container for Subscribe to Site -->
<div id="ctl00_page_content_pnlSubscribeToSiteContainer" class="subscribe-to-site-container" style="display: block;">
<a id="ctl00_page_content_lnkFeed" class="link-button2" ajaxcall="true" cicode="42237" href="http://photos.visiblepc.com/FeedGalleryList.aspx">Subscribe to Site</a>
</div>
<!-- Container for gallery navigation -->
<div class="galleryNavigation" style="display: none;">
<a href="#1" class="pagerFirst">First</a>
<a href="#" class="pagerPrev">Prev</a>
<span class="pagerPages"></span>
<a href="#" class="pagerNext">Next</a>
<a href="#" class="pagerLast">Last</a>
</div>
<div style="clear: both;"></div>
<!-- Container for gallery items -->
<div id="divContainer" class="galleryContainer clear-fix"> <!-- Gallery item -->
<div class="galleryInfoItem" style="height:225px;" id="0" galleryid="4615220" gallerytitle="Projects" targeturl="" gallerythemecss="Smart.css">
<div class="galleryInfoImageContainer"><img class="galleryInfoImage" src="//images.onlinephotofiler.com/nophotos.jpg" style="max-width: 125px;"></div>
<div class="galleryInfoTitle"> Projects </div>
<div class="galleryInfoMeta"> <span class="">Item: 0, 3/1/2015</span> </div>
<div class="gallery-notes" style="display:none;"> <span id="notes"></span> </div>
<div class="like-container">
<div style="float:left">
<div id="like_4615220" value="4615220" class="like-button" cicode="51617" ajaxcall="true">
<div class="like-background-left"></div>
<div class="like-background-middle">
<div class="liked">Like</div>
</div>
<div class="like-background-right"></div>
</div>
<div id="unlike_4615220" value="4615220" class="unlike-button" cicode="51620" ajaxcall="true" style="display:none;">
<div class="like-background-left"></div>
<div class="like-background-middle">
<div class="not-liked">Unlike</div>
</div>
<div class="like-background-right"></div>
</div>
</div>
<div id="likeCountContainer_4615220" style="float:right" title="0 likes">
<div class="like-count-background-left"></div>
<div class="like-count-background-middle">
<div id="likeCountImage_4615220" class="not-liked"> <span id="likeCount_4615220">0</span> </div>
</div>
<div class="like-count-background-right"></div>
</div>
</div>
</div>
</div>
<div style="clear: both;"></div>
<!-- Container for gallery navigation -->
<div class="galleryNavigation" style="display: none;">
<a href="#1" class="pagerFirst">First</a>
<a href="#" class="pagerPrev">Prev</a>
<span class="pagerPages"></span>
<a href="#" class="pagerNext">Next</a>
<a href="#" class="pagerLast">Last</a>
</div>
</div>
<div id="sidebar">
<div class="sidebar-search" style="display:none">
<input name="ctl00$sideBar$txtSearchWaterMark" type="text" id="ctl00_sideBar_txtSearchWaterMark" class="unwatermarked">
</div>
<div class="smallDiv" style="width:193px">
<div id="gallerySearch_heading" style="display:block; margin-bottom:35px; margin-top:5px;">
<div id="gallerySearchText_left" style="float:left;">
<input type="text" size="30" maxlength="100" value="" id="inputString" class="galleryTagInput watermark ac_input" style="border: 1px solid #c9c9c9; width: 190px; color:gray; font-size:11px;" autocomplete="off">
</div>
<div id="galleryGo_right" style="float:right; display:none"><input type="button" value="Go"></div>
</div>
<div id="suggestions"></div>
</div>
<script type="text/javascript" src="/scripts/jquery/jquery.autocomplete.js"></script>
<script src="/scripts/jquery/jquery.watermark-2.0.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#inputString").watermark("Search galleries and photos");
$("#inputString").keypress(function(event) {
if (event.which == '13') {
event.preventDefault();
}
});
//Unbind the keydown only for all the text boxes only in FilmStrip view
$("#inputString").blur(function(e) {
$("#inputString")[0].value = "";
$("#inputString").css("color", "gray");
$("#inputString").watermark("Search galleries and photos");
});
$("#inputString").focus(function(e) {
$("#inputString").css("color", "black");
});
// Disable the sidebar search for ThemePreviewAccount
var callUrl = "scriptservices/AutoCompleteData.ashx";
$("#inputString").autocomplete(callUrl, {
max: 10,
delay: 100,
width: 204,
matchContains: true,
minChars: 2,
scrollHeight: 800,
multiple: true,
dataType: 'json',
parse: function(data) {
var rows = new Array();
var resultsLength = data.length;
var inputStringLength = $("#inputString")[0].value.length;
for (var i = 0; i < resultsLength; i++) {
rows[i] = {
data: data[i],
value: data[i].Name,
result: data[i].Name
};
}
if (resultsLength == 0) {
rows[0] = {
data: "No results found",
value: "No results found",
result: "No results found"
};
}
return rows;
},
formatItem: function(item, position, length) {
var itemDateCreated = item.DateCreated;
var itemResults = "";
if (item.ItemType == "Gallery") {
itemImage = "<img src='//images.onlinephotofiler.com/icon_albums.gif' title='Gallery' style='float:left;margin:0px 15px 5px 0px;'/>";
itemResults = itemImage + item.Name + "<br/> Items: " + item.TotalPhotos + ", " + itemDateCreated;
}
if (item.ItemType == "Photo") {
itemImage = "<img src='//images.onlinephotofiler.com/icon_photo2.gif' title=" + item.ItemType + " style='float:left;margin:0px 15px 5px 0px;'/>";
itemResults = itemImage + item.Name + "<br/>" + itemDateCreated;
} else if (item.ItemType == "Video") {
itemImage = "<img src='//images.onlinephotofiler.com/icon_video.gif' title=" + item.ItemType + " style='float:left;margin:0px 15px 5px 0px;'/>";
itemResults = itemImage + item.Name + "<br/>" + itemDateCreated;
} else if (item == "No results found") {
itemResults = "<span>" + item + "</span>";
}
return itemResults;
}
}).result(function(event, data, result) {
var redirectUrl = "";
var queryString = "";
if (data.ItemType == "Gallery") {
redirectUrl = "GalleryThumbnails.aspx";
queryString = data.ItemType + "=" + data.ItemId;
}
if (data.ItemType == "Photo" || data.ItemType == "Video") {
redirectUrl = "GalleryFilmstrip.aspx";
queryString = "gallery=" + data.ItemParentId + "&mt=" + data.ItemType + "&mid=" + data.ItemId;
}
if (redirectUrl != "") {
if (typeof(HaveUnsavedEdits) == "function")
if (HaveUnsavedEdits()) {
if (!confirm("You have unsaved changes. Press 'OK' to continue with your action, or 'Cancel' to stay on the page.")) {
$("#inputString").blur();
return false;
}
}
var redirectValue = redirectUrl + "?" + queryString + DebugAccountDomain();
window.location = redirectUrl + "?" + queryString + DebugAccountDomain();
}
});
});
</script>
<div id="siteInfoContainer" class="smallDiv" style="width:193px;display:none">
<div style="display:block">
<div id="siteInfoSideBarTop"></div>
<div id="siteInfoSideBarMiddle" class="clear-fix" style="word-wrap:break-word;overflow:hidden">
<div id="siteInfoLabelContainer" style="display:none">
<span id="siteInfolabel"></span>
</div>
<div id="siteInfoValueContainer">
<span id="siteInfoValue"></span>
</div>
</div>
<div id="siteInfoSideBarBottom"></div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function() {
$.ajaxSetup({
cache: false,
type: "POST",
contentType: "application/json; charset=utf-8",
dataType: "json"
});
siteInfo.load();
});
//#region siteInfo
var siteInfo = siteInfo || {
container: $("#siteInfoContainer"),
label: $("#siteInfolabel"),
labelContainer: $("#siteInfoLabelContainer"),
value: $("#siteInfoValue"),
valueContainer: $("#siteInfoValueContainer"),
load: function() {
$.ajax({
url: "scriptservices/AccountServices.asmx/GetSiteSettings",
data: "{}",
success: function(msg) {
siteInfo.loadAccountInfo(msg.d.AccountInfoTypeId, msg.d.AccountInfo)
},
error: function(xhr, msg) {
// Should we display an error here?
}
});
},
loadAccountInfo: function(accountInfoTypeId, accountInfo) {
switch (accountInfoTypeId.toString()) {
case "4": // None
siteInfo.displayNone();
break;
case "1": // Email
siteInfo.displayEmail(accountInfo);
break;
case "2": // Text
siteInfo.displayText(accountInfo);
break;
case "3": // URL
siteInfo.displayUrl(accountInfo);
break;
}
},
displayNone: function() {
siteInfo.container.hide();
},
displayEmail: function(accountInfo) {
var parsedAccountInfo = siteInfo.parseAccountInfo(accountInfo);
if (parsedAccountInfo.label != "") {
siteInfo.label.html(parsedAccountInfo.label + ":");
siteInfo.labelContainer.show();
}
siteInfo.value.html("<a href='mailto:" + parsedAccountInfo.value + "' target='blank'>" + parsedAccountInfo.value + "</a>");
siteInfo.container.show();
},
displayText: function(accountInfo) {
siteInfo.value.html(accountInfo);
siteInfo.container.show();
},
displayUrl: function(accountInfo) {
var parsedAccountInfo = siteInfo.parseAccountInfo(accountInfo);
if (parsedAccountInfo.label != "") {
siteInfo.value.html("<a href='" + parsedAccountInfo.value + "' target='blank'>" + parsedAccountInfo.label + "</a>");
} else {
siteInfo.value.html("<a href='" + parsedAccountInfo.value + "' target='blank'>" + parsedAccountInfo.value + "</a>");
}
siteInfo.container.show();
},
parseAccountInfo: function(accountInfo) {
var parsedAccountInfo = {
label: "",
value: ""
};
if (accountInfo != null && accountInfo.length > 0) {
var accountInfoArray = accountInfo.split("|");
if (accountInfoArray.length > 1) {
parsedAccountInfo.label = accountInfoArray[0];
parsedAccountInfo.value = accountInfoArray[1];
} else {
parsedAccountInfo.label = "";
parsedAccountInfo.value = accountInfo;
}
}
return parsedAccountInfo;
}
};
//#endregion
</script>
</div>
<div style="clear: both; height: 15px;"></div>
<!-- End Content -->
</div>
<!-- Begin Scripts -->
<script language="javascript" src="scripts/jquery/jquery.jtemplates.js" type="text/javascript"></script>
<script type="text/javascript">
var requestedPage = 1,
totalPages = 0,
likeCookieName = "PhotoWeb.LikedPhotoSets=";
$(document).ready(function() {
///////////////////////////////////
// Alert info setup
///////////////////////////////////
$("#alertControl").alert();
///////////////////////////////////
// Ajax setup
///////////////////////////////////
$.ajaxSetup({
cache: false,
type: "POST",
contentType: "application/json; charset=utf-8",
dataType: "json"
});
// If we were passed a different page number, use it
// Otherwise, default to '1'
if (location.hash != "") {
requestedPage = location.hash.replace("#", "");
}
// If 'requestedPage' is not a number and it matches 'warn'
// show the warning message instead, and Display the first page
if (isNaN(requestedPage) && requestedPage == "warn") {
ShowAlertDiv("The item you requested doesn't exist. It may have been moved or deleted.", "info");
requestedPage = 1;
// After 10 seconds, automatically hide the alert div:
setTimeout(function() {
HideAlertDiv();
}, 10000);
}
// If 'requestedPage' is not a number and it matches 'private'
// show the warning message instead, and Display the first page
if (isNaN(requestedPage) && requestedPage == "privateTag") {
ShowAlertDiv("This tag is associated with secure photos. Please contact the album administrator to get access to these photos.", "info");
requestedPage = 1;
// After 10 seconds, automatically hide the alert div:
setTimeout(function() {
HideAlertDiv();
}, 10000);
}
// Load the page:
DisplayPage(requestedPage);
// Item hover actions:
$(".galleryInfoItem").live("mouseover", function() {
$(this).addClass("galleryInfoItemHover");
$(this).children(".galleryInfo-actionbar").children(".galleryInfo-actionbar-left").show();
$(this).children(".galleryInfo-actionbar").children(".galleryInfo-actionbar-right").show();
var spanText = $(this).children(".gallery-notes").children("#notes").html();
// Show only if notes exists
if (spanText != "") {
$(this).children(".gallery-notes").attr('style', 'display:block;');
// If it's last column in the row. Then change the margin-left
var sequenceCount = parseInt(this.id) + 1;
if (sequenceCount % 4 == 0) $(this).children(".gallery-notes").attr('style', 'margin-left:-150px');
var numberOfGalleriesDisplayed = $("#divContainer > .galleryInfoItem").size();
// If it's last row then change the top or if it is last row and last column then change top and left
if ((numberOfGalleriesDisplayed - sequenceCount) < 4) {
if (sequenceCount % 4 == 0) {
var dynamicStyle = 'margin-top:-70px; margin-left:-250px;';
$(this).children(".gallery-notes").attr('style', dynamicStyle);
} else {
var dynamicStyle = 'margin-top:-70px;';
$(this).children(".gallery-notes").attr('style', 'margin-top:-70px;');
}
}
// To avoid the white space characters for a smaller description set the width as auto.
if (spanText.length <= 50) {
$(this).children(".gallery-notes").attr('style', 'width:auto;');
}
}
});
$(".galleryInfoItem").live("mouseout", function() {
$(this).removeClass("galleryInfoItemHover");
$(".galleryInfo-actionbar-left").hide();
$(".galleryInfo-actionbar-right").hide();
$(this).children(".gallery-notes").removeClass("galleryInfoItemHover").hide();
});
// Pager item click action:
$(".pagerItem").live("click", function() {
DisplayPage($(this).html());
});
// Gallery preview click:
$(".galleryInfoImage, .galleryInfoImageContainer").live("click", function() {
// If ThemePreviewAccount change the css of the selected gallery
// Get the galleryId ...
galleryUrl = $(this).parents(".galleryInfoItem").attr("targetUrl");
// As long as it's not blank, redirect to it:
if (galleryUrl != "") {
location.href = galleryUrl;
}
});
// Gallery 'edit' click:
$(".galleryInfo-actionbar-edit").live("click", function() {
// Get the galleryId ...
galleryId = $(this).parent().parent().parent().attr("galleryId");
// and redirect to the appropriate gallery's photos:
location.href = "EditGallery.aspx?gallery=" + galleryId + DebugAccountDomain() + "&ci=21977";
});
// Listen for when a gallery gets deleted:
$(document).bind("deletegallery", function(e) {
// Fade the gallery item out...
$("#divContainer div.galleryInfoItem[galleryId=" + e.galleryId + "]").fadeOut(1000, function() {
// Remove it...
$(this).remove();
// If we're the last item, make sure we display the right text:
if ($.trim($("#divContainer").html()) == "") {
totalPages--;
if (totalPages == 0) HandleNoGalleries();
else {
if (requestedPage > 1) DisplayPage(requestedPage - 1);
else DisplayPage(1);
}
}
getRecycleBinCount();
// If there are tagSidebarMiddle div then call getPaginatedAccountTags
if ($('#tagSideBar').length) {
getPaginatedAccountTags(0, true);
}
});
});
// Gallery 'create' click:
$("#btnCreateGallery").live("click", function() {
location.href = "AddGallery.aspx" + DebugAccountDomain();
});
// Ajax 'try again' link:
$("#lnkTryAgain").click(function() {
DisplayPage(requestedPage);
$("#divAjaxError").hide();
});
$("#divContainer").delegate(".like-button", "click", likeGallery).delegate(".unlike-button", "click", unlikeGallery);
});
//////////////////////////////////////
// Displays a page of galleries
//////////////////////////////////////
function DisplayPage(pageNumber) {
// Setup parameters:
var parameters = {};
parameters.pageNumber = pageNumber;
// Format the JSON request
var jsonData = JSON.stringify(parameters);
// Hide the subscribe link while loading
$(".subscribe-to-site-container").hide();
// Display the 'loading' status:
$("#divLoadingStatus").show();
// Call our ajax function to see if we have name collisions:
$.ajax({
url: "scriptservices/PhotoDataServices.asmx/GetGalleryPage",
data: jsonData,
success: function(msg) {
// Clear the container:
$("#divContainer").empty();
// See if we have galleries to display:
if (msg.d.PageItems.length < 1) {
// If have no galleries...
HandleNoGalleries();
} else {
// If we have galleries ...
// Load the HTML template:
var template = $("#galleryitem_template").html();
$('#divContainer').setTemplate(template);
// Apply the JSON array to the container's template and render:
$('#divContainer').processTemplate(msg);
// Track the total number of pages:
totalPages = msg.d.TotalPages;
// Build navigation:
DisplayPager(msg);
}
},
error: function(xhr, msg) {
$("#divAjaxError").show();
},
complete: function(xhr, msg) {
// Hide the 'loading' status:
$("#divLoadingStatus").hide();
// Show the subscribe link
$(".subscribe-to-site-container").show();
// If there are tagSidebarMiddle div then call getPaginatedAccountTags
if ($('#tagSideBar').length) {
//On visitor side if any galleries are unlocked we need to run this to
//show the newly unlocked tags.
getPaginatedAccountTags(0, true);
}
}
});
}
//////////////////////////////////////
// Builds and displays the paging
// navigation for the current
// gallery pager
//////////////////////////////////////
function DisplayPager(jsonData) {
// Unbind everything:
$(".pagerFirst").unbind();
$(".pagerPrev").unbind();
$(".pagerNext").unbind();
$(".pagerLast").unbind();
// // If we have more than one page...
if (jsonData.d.TotalPages > 1) {
// Display greyed out controls by default:
$(".pagerFirst").addClass("disabledLink");
$(".pagerPrev").addClass("disabledLink");
$(".pagerNext").addClass("disabledLink");
$(".pagerLast").addClass("disabledLink");
// If we're not on the first page...
if (jsonData.d.PageNumber > 1) {
$(".pagerFirst").removeClass("disabledLink");
$(".pagerPrev").removeClass("disabledLink");
// Bind 'first' and 'previous' pager navigation:
$(".pagerFirst").click(function() {
DisplayPage(1);
});
$(".pagerPrev").click(function() {
DisplayPage(jsonData.d.PageNumber - 1);
});
}
// If we're not on the last page ...
if (jsonData.d.PageNumber < jsonData.d.TotalPages) {
$(".pagerNext").removeClass("disabledLink");
$(".pagerLast").removeClass("disabledLink");
// Bind 'next' and 'last' pager navigation:
$(".pagerNext").click(function() {
DisplayPage(jsonData.d.PageNumber + 1);
});
$(".pagerLast").click(function() {
DisplayPage(jsonData.d.TotalPages);
});
}
// Update numerical displays...
// Start by clearing the display:
$(".pagerPages").empty();
// Build 'previous items' in the list:
for (i = jsonData.d.PageNumber - 1; i > jsonData.d.PageNumber - 4 && i > 0; i--) {
// Note that we are using 'prepend' instead of 'append' here
$(".pagerPages").prepend("<a class='pagerItem' href='#" + i + "'>" + i + "</a>");
$(".pagerPages").prepend(" ");
}
// Update the 'current item' in the list:
$(".pagerPages").append("[" + jsonData.d.PageNumber + "] ");
// Build 'next items' in the list:
for (i = jsonData.d.PageNumber + 1; i < jsonData.d.PageNumber + 4 && i <= jsonData.d.TotalPages; i++) {
$(".pagerPages").append("<a class='pagerItem' href='#" + i + "'>" + i + "</a>");
$(".pagerPages").append(" ");
}
// Update links for next and last:
$(".pagerLast").attr("href", "#" + jsonData.d.TotalPages);
$(".pagerNext").attr("href", "#" + (jsonData.d.PageNumber + 1));
// Pager should be visible:
$(".galleryNavigation").show();
// Make the subscribe to site container absolutely positioned
$(".subscribe-to-site-container").css("position", "absolute");
} else {
// Pager should be hidden:
$(".galleryNavigation").hide();
// Make the subscribe to site container relatively positioned
$(".subscribe-to-site-container").css("position", "");
}
}
//////////////////////////////////////
// Handles 'no galleries' condition
//////////////////////////////////////
function HandleNoGalleries() {
// Redirect to the 'no galleries' page:
location.href = "NoGalleries.aspx" + DebugAccountDomain();
}
//////////////////////////////////////
// Alert functionality
//////////////////////////////////////
function ShowAlertDiv(message, errorType) {
$("#alertControl").alertShow({
messageText: message,
alertType: errorType
});
}
function HideAlertDiv() {
$("#alertControl").alertHide();
}
//#region Like feature
function isCookiesEnabled() {
var cookieEnabled = (navigator.cookieEnabled) ? true : false;
if (typeof navigator.cookieEnabled == "undefined" && !cookieEnabled) {
document.cookie = "testcookie";
cookieEnabled = (document.cookie.indexOf("testcookie") != -1) ? true : false;
}
return (cookieEnabled);
}
function setLikeCookie(galleryId) {
var expires = new Date(),
galleries = JSON.parse(getLikeCookie()),
saveCookie = true;
if (galleries != null) {
if ($.inArray(galleryId, galleries) === -1) {
galleries.push(galleryId);
} else {
saveCookie = false;
}
} else {
galleries = [galleryId];
}
if (saveCookie) {
expires.setDate(expires.getDate() + 365);
document.cookie = likeCookieName + JSON.stringify(galleries) + "; expires=" + expires.toUTCString() + "; path=/";
}
}
function getLikeCookie() {
var cookies = document.cookie.split(";");
for (var i in cookies) {
var cookie = cookies[i];
while (cookie.charAt(0) === ' ') {
cookie = cookie.substring(1, cookie.length);
}
if (cookie.indexOf(likeCookieName) === 0) {
return cookie.substring(likeCookieName.length, cookie.length);
}
}
return "[]";
}
function deleteLikeCookie(galleryId) {
var expires = new Date(),
galleries = JSON.parse(getLikeCookie()),
saveCookie = true;
if (galleries != null) {
if ($.inArray(galleryId, galleries) >= 0) {
galleries.splice($.inArray(galleryId, galleries), 1);
}
}
if (galleries != null && galleries.length > 0) {
expires.setDate(expires.getDate() + 365);
document.cookie = likeCookieName + JSON.stringify(galleries) + "; expires=" + expires.toUTCString() + "; path=/";
} else {
document.cookie = likeCookieName + JSON.stringify([]) + "; expires='expires=Thu, 01-Jan-1970 00:00:01 GMT'; path=/";
}
}
function likeGallery(e) {
var id = parseInt($(this).attr("value")),
parameters = JSON.stringify({
galleryId: id
}),
likeButton = $("#like_" + id);
likeButton.attr("disabled", "disabled");
$.ajax({
url: "scriptservices/PhotoDataServices.asmx/LikeGallery",
data: parameters,
success: function(msg) {
setLikeCookie(id);
updateLikeCount(id, msg.d);
},
error: function(xhr, msg) {
likeButton.removeAttr("disabled");
}
});
}
function unlikeGallery(e) {
var id = parseInt($(this).attr("value")),
parameters = JSON.stringify({
galleryId: id
}),
unlikeButton = $("#unlike_" + id);
unlikeButton.attr("disabled", "disabled");
$.ajax({
url: "scriptservices/PhotoDataServices.asmx/UnlikeGallery",
data: parameters,
success: function(msg) {
deleteLikeCookie(id);
updateLikeCount(id, msg.d);
},
error: function(xhr, msg) {
unlikeButton.removeAttr("disabled");
}
});
}
function isLikeButtonEnabled(galleryId) {
var galleries = JSON.parse(getLikeCookie());
if (galleries != null && $.inArray(galleryId, galleries) > -1) {
return false;
}
return true;
}
function updateLikeCount(galleryId, count) {
var likeButton = $("#like_" + galleryId),
unlikeButton = $("#unlike_" + galleryId),
likeCount = $("#likeCount_" + galleryId),
likeCountContainer = $("#likeCountContainer_" + galleryId),
likeCountImage = $("#likeCountImage_" + galleryId);
if (count > 0) {
likeCountImage.attr("class", "liked");
} else {
likeCountImage.attr("class", "not-liked");
}
likeCount.html(count);
likeCountContainer.attr("title", count + " likes");
if (isLikeButtonEnabled(galleryId)) {
likeButton.removeAttr("disabled");
likeButton.show();
unlikeButton.hide();
} else {
unlikeButton.removeAttr("disabled");
likeButton.hide();
unlikeButton.show();
}
}
//#endregion
</script>
<!-- Template for gallery item -->
<script type="text/html" id="galleryitem_template">
{#foreach $T.d.PageItems as gallery}
<!-- Gallery item -->
<div class="galleryInfoItem" style="height:225px;" id="{$T.gallery$iteration}" galleryId="{$T.gallery.GalleryId}" galleryTitle="{$T.gallery.Title}" targetUrl="{$T.gallery.TargetUrl}" galleryThemeCSS="{$T.gallery.GalleryThemeCSS}">
<div class="galleryInfoImageContainer"><img class="galleryInfoImage" src="{$T.gallery.PhotoUrl}" style="max-width: 125px;" /></div>
<div class="galleryInfoTitle">
{$T.gallery.Title}
</div>
<div class="galleryInfoMeta">
<span class="{$T.gallery.PermissionIconStyle}">{#if $T.gallery.DisplayGalleryCount == true}Item{#if $T.gallery.MediaCount > 1}s{#/if}: {$T.gallery.MediaCount}{#/if}{#if $T.gallery.DisplayDateType != "4"}{#if $T.gallery.DisplayGalleryCount == true}, {#/if}{$T.gallery.DisplayDate}{#/if}</span>
</div>
<div class="gallery-notes" style="display:none;">
<span id="notes">{#if $T.gallery.ShowNotesHover}{$T.gallery.GalleryDesc}{#/if}</span>
</div>
{#if isCookiesEnabled()}
<div class="like-container">
<div style="float:left">
<div id=like_{$T.gallery.GalleryId} value={$T.gallery.GalleryId} class="like-button" cicode='51617' ajaxCall='true' {#if !isLikeButtonEnabled($T.gallery.GalleryId)}style="display:none;"{#/if}>
<div class="like-background-left"/>
<div class="like-background-middle">
<div class="liked">Like</div>
</div>
<div class="like-background-right"/>
</div>
<div id=unlike_{$T.gallery.GalleryId} value={$T.gallery.GalleryId} class="unlike-button" cicode='51620' ajaxCall='true' {#if isLikeButtonEnabled($T.gallery.GalleryId)}style="display:none;"{#/if}>
<div class="like-background-left"/>
<div class="like-background-middle">
<div class="not-liked">Unlike</div>
</div>
<div class="like-background-right"/>
</div>
</div>
<div id=likeCountContainer_{$T.gallery.GalleryId} style="float:right" title="{$T.gallery.LikeCount} likes">
<div class="like-count-background-left"/>
<div class="like-count-background-middle">
<div id=likeCountImage_{$T.gallery.GalleryId} class={#if ($T.gallery.LikeCount > 0)}liked{#else}not-liked{#/if}>
<span id=likeCount_{$T.gallery.GalleryId}>{$T.gallery.LikeCount}</span>
</div>
</div>
<div class="like-count-background-right"/>
</div>
</div>
{#/if}
</div>
{#/for}
</script>
<!-- End Scripts -->
<!-- Begin Footer -->
<div class="footer" style=""></div>
<div class="banner" style="text-align:center;">
<ul class="footer-container">
<li>
<span id="ctl00_FooterBar1_lblCopyright">Copyright © 2022 Photo Album.</span>
</li>
<li>
<a id="ctl00_FooterBar1_lnkProductLanding" rel="nofollow" href="https://www.secureserver.net/gdshop/photo/landing.asp?prog_id=307026&isc=OPFpowby" target="_blank"><img id="ctl00_FooterBar1_imgPoweredBy" ajaxcall="true" cicode="42238" src="//images.onlinephotofiler.com/pl.re/poweredby_white_photoalbum.png" alt="Online Photo Hosting" align="absmiddle" style="border-width:0px;"></a>
<a id="ctl00_FooterBar1_childlnkProductLanding" href="https://www.secureserver.net/hosting/website-builder.aspx?prog_id=307026&isc=OPFpowby" target="_blank"></a>
</li>
</ul>
</div>
<div>
</div>
<!-- End Footer -->
<div id="fastBallLog">
<span><!-- Fastball Scripts -->
<script type="text/javascript" src="https://img3.wsimg.com/fastball/js_lib/FastballLibrary0006.js"></script>
<script type="text/javascript">
var fbiLibDomainName = 'securepaynet.net';
</script>
</span>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
// This is for POSTBACK
$('[cicode][ajaxCall=false]').click(function() {
var hrefVal = $(this).attr("href");
// check if the CI code already exists in the url
var result = hrefVal.match(/[\?|&]ci=/i);
if (result == null) {
if (hrefVal.indexOf("?") == -1) {
$(this).attr("href", $(this).attr("href") + "?ci=" + $(this).attr("cicode"));
} else {
$(this).attr("href", $(this).attr("href") + "&ci=" + $(this).attr("cicode"));
}
}
});
//Captures buttons inputs links.
$('[cicode][ajaxCall=true]').live("click", function(event) {
if (typeof(fastBallEnabled) != 'undefined') {
if (fastBallEnabled == 'True') {
if ((event == null) && (typeof(event) != 'undefined')) event = getEvent($(this).event);
feo = new fbiEventObject(event, 'click', $(this).attr('cicode'), '');
fbiRecordFastballEvent(feo);
}
}
});
//Captures Dropdowns this is needed becuase .click for dropdowns in IE is not recognized.
$('select[ajaxCall=true]').change(function(event) {
if (typeof(fastBallEnabled) != 'undefined') {
if (fastBallEnabled == 'True') {
if ((event == null) && (typeof(event) != 'undefined')) event = getEvent($(this).event);
feo = new fbiEventObject(event, 'click', $(this).find(":selected").attr("cicode"), '');
fbiRecordFastballEvent(feo);
}
}
});
function getEvent(evt) {
return (evt ? evt : (window.event ? window.event : null));
}
});
</script>
</div>
</div>
<link rel="stylesheet" type="text/css" href="/scripts/jQuery/jquery-ui/pa/jquery-ui-base.css">
<script type="text/javascript">
$(document).ready(function() {
$("#sessionTimeoutConfirmation").dialog({
autoOpen: false,
modal: true,
draggable: false,
width: 350,
resizable: false
});
});
</script>
<script type="text/javascript">
$(document).ready(function() {});
</script>
</form>
Name: form1 — POST default.aspx
<form name="form1" method="post" action="default.aspx" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="vPUXcqgqRo9BJBx7BdCaZGdCZHXLdPENC+SDIxqDZAgDpR2hOPz2gZYcnSvvlzJx0rI3MlHVpUKXRUH6cI9mf7HWTT8=">
</div>
<div>
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="CA0B0334">
<input type="hidden" name="__VIEWSTATEENCRYPTED" id="__VIEWSTATEENCRYPTED" value="">
</div>
</form>
Text Content
photos.visiblepc.com Login Loading... An error occurred while getting information about your galleries. Try getting my galleries again. Subscribe to Site First Prev Next Last Projects Item: 0, 3/1/2015 Like Unlike 0 First Prev Next Last * Copyright © 2022 Photo Album. * Session Timeoutclose Your session is about to expire. Click OK to extend your session.