It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: https://www.dermandar.com/user/powertoad9/

  1. <!DOCTYPE html>
  2. <html xmlns="https://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://ogp.me/ns#">
  3. <head>
  4. <script>
  5. var DMDGetFlashVersion = function() {
  6. var flashVersion = "0,0,0";
  7. try {
  8.     try {
  9.       var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
  10.       try { axo.AllowScriptAccess = "always"; }
  11.       catch(e) { flashVersion = "6,0,0"; }
  12.     } catch(e) {}
  13.     flashVersion = new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g, "","").match(/^,?(.+),?$/)[1];
  14.   } catch(e) {
  15.     try {
  16.       if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){
  17.       flashVersion = (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g, ",").match(/^,?(.+),?$/)[1];
  18.       }
  19.     } catch(e) {}
  20.   }
  21.   flashVersion = flashVersion.split(",").shift();
  22.   return flashVersion;
  23. };
  24. </script>
  25. <style>
  26. </style>
  27. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  28. <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0" />
  29. <meta name="google-site-verification" content="6cBdPpCKBeVi236rITbeI7LYAKaifWRl6AbIzmHpk0c" />
  30. <title>Dermandar User Profile - Grid</title>
  31. <link rel="icon" type="image/x-icon" href="//www.dermandar.com/design/images/favicon.ico" />
  32. <link rel="apple-touch-icon" href="https://static.dermandar.com/apple-touch-icon.png" />
  33. <link href="https://static.dermandar.com/design/style2.css?v=1.1.3" media="screen" rel="stylesheet" type="text/css" />
  34. <link rel="stylesheet" type="text/css" href="https://static.dermandar.com/css/style2.css?v=1.0.79">
  35. <!--[if lte IE 8]>
  36. <link href="https://static.dermandar.com/design/lte-ie8.css" media="screen" rel="stylesheet" type="text/css" />
  37. <![endif]-->
  38. <!--[if lte IE 7]>
  39. <link href="https://static.dermandar.com/design/lte-ie7.css" media="screen" rel="stylesheet" type="text/css" />
  40. <![endif]-->
  41. <script type="text/javascript" src="https://static.dermandar.com/js/jquery-1.4.4.min.js"></script>
  42. <script type="text/javascript" src="https://static.dermandar.com/js/jquery.hoverIntent.js"></script>
  43. <script>
  44.        var isUserCN=false;
  45.        function appendMapAPI() {
  46.            
  47.            var scriptMap = document.createElement('script');
  48.            scriptMap.async=true;
  49.            scriptMap.defer=true;
  50.            scriptMap.src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBuOLMtBwzS3xaZZ6RfSucOGV7q_RgoIvw";
  51.            document.getElementsByTagName('head')[0].appendChild(scriptMap);
  52.            scriptMap.onload = function () {
  53.            };
  54.  
  55.            
  56.            var scriptMap = document.createElement('script');
  57.            scriptMap.async=true;
  58.            scriptMap.defer=true;
  59.            scriptMap.src="//www.dermandar.com/js/script.js?v=127.183";
  60.            document.getElementsByTagName('head')[0].appendChild(scriptMap);
  61.  
  62.  
  63.            window.fbAsyncInit = function() {
  64.    FB.init({
  65.      appId      : '246290217488', // App ID
  66.      channelUrl : 'https://static.dermandar.com/fbchannel.php', // Channel File
  67.      status     : true, // check login status
  68.      cookie     : true, // enable cookies to allow the server to access the session
  69.      xfbml      : true  // parse XFBML
  70.    });
  71. };
  72. (function(d){
  73. var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
  74. if (d.getElementById(id)) {return;}
  75. js = d.createElement('script'); js.id = id; js.async = true;
  76. js.src = "https://connect.facebook.net/en_US/all.js";
  77. ref.parentNode.insertBefore(js, ref);
  78. }(document));
  79. jQuery(document).ready(function ($) {
  80.    var facebookOpened = false;
  81. $('.dmd_facebook_button').live('click',function (e) {
  82. if(!facebookOpened){
  83.   $(".dmd_facebook_box").animate({right:"0px"},500);
  84.     $(".dmd_facebook_button").animate({right:$(".dmd_facebook_box").outerWidth()},500);
  85.   facebookOpened = true;
  86.   }else{
  87.   $(".dmd_facebook_box").animate({right:"-212px"},500);
  88.     $(".dmd_facebook_button").animate({right:"0px"},500);
  89.   facebookOpened = false;
  90.   }
  91.    });
  92. });
  93.                
  94.        }
  95.        try {
  96.            $.ajax({
  97.    type: "GET",
  98.    url: "https://freegeoip.app/json/",
  99.    success: function (data_geo) {
  100.     if(data_geo.country_code=='CN') isUserCN=true;
  101.                 if(!isUserCN) appendMapAPI();
  102.    },
  103.    error: function (e) {
  104.                 if(!isUserCN) appendMapAPI();
  105.    }
  106. });
  107.        }
  108.        catch (e) {
  109.            if(!isUserCN) appendMapAPI();
  110.        }
  111.    </script>
  112. <script type="application/javascript">
  113. var geoip_country_name=null;
  114. var geoip_latitude=null;
  115. var geoip_longitude=null;
  116. </script>
  117.    <script>
  118. var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
  119. var scrollBoolean=false;
  120. function isScrolled(){
  121. var body_height = $(document.body).height();
  122. var window_height = window.innerHeight;
  123. scrollBoolean = body_height > window_height;
  124. return scrollBoolean;
  125. }
  126. function dmd_isAndroidAgent() {
  127. var userAgent=navigator.userAgent.toLowerCase();
  128. if (userAgent.indexOf("android") > -1) {
  129. return true;
  130. }
  131. return false;
  132. };
  133. function dmd_isIOSAgent() {
  134. var userAgent=navigator.userAgent.toLowerCase();
  135. var isIOS=false;
  136. if (userAgent.indexOf("ipad") > -1) {
  137. return true
  138. }
  139. if (userAgent.indexOf("ipod") > -1) {
  140. return true;
  141. }
  142. if (userAgent.indexOf("iphone") > -1) {
  143. return true;
  144. }
  145.  
  146. return false;
  147. };
  148. function dmd_isDesktopAgent() {
  149. return (!dmd_isAndroidAgent() && !dmd_isIOSAgent());
  150. };
  151.  
  152. function searchPanos(){
  153. var searchText = document.getElementById('dmdpano_searchtext');
  154. if(searchText.value != null && searchText.value != ''){
  155. location.href = CFG_DOMAIN_URL + 'search?q='+ encodeURIComponent(searchText.value);
  156. }else{
  157. searchText.classList.add('searchtexthidden');
  158. searchText.classList.remove('searchtextvisible');
  159. }
  160. }
  161.  
  162. function searchPanosKeyPress(e){
  163. var key=e.keyCode? e.keyCode : e.charCode
  164. if(key == 13){
  165. searchPanos();
  166. }
  167. }
  168. function showSearchBox(){
  169. var searchText = document.getElementById('dmdpano_searchtext');
  170. if(searchText.className.search('searchtextvisible') ==-1){
  171. searchText.classList.add('searchtextvisible');
  172. searchText.classList.remove('searchtexthidden');
  173. }else{
  174. searchPanos();
  175. }
  176. }
  177. </script>
  178. <script type="text/javascript">
  179. var temp;
  180. </script>
  181. <script type="text/javascript" src="https://static.dermandar.com/js/animate-minified.js"></script>
  182. <script>
  183. var openedMenu = "";
  184. function resized()
  185. {
  186. if(openedMenu != "")
  187. hide(document.getElementById(openedMenu));
  188. }
  189. </script>
  190. </head>
  191. <body onresize="resized()">
  192. <div id="fb-root"></div>
  193. <script>
  194. function showhidemenu(menu)
  195. {
  196. var obj = document.getElementById(menu);
  197. if(obj != null)
  198. {
  199. if( !obj.style.opacity || obj.style.opacity=='0')
  200. {
  201. if(openedMenu != "")
  202. hide(document.getElementById(openedMenu));
  203. show(obj);
  204. }
  205. else
  206. {
  207. hide(obj);
  208. }
  209. openedMenu = menu;
  210. }
  211. return false;
  212. }
  213. function hide(obj) {
  214. obj.animate = dmd_animate;
  215. obj.animate({'opacity':'0'}, 100, function() { obj.style.display="none";});
  216. return true;
  217. }
  218.  
  219. function show(obj) {
  220. obj.animate = dmd_animate;
  221. obj.style.display="block";
  222. obj.animate({'opacity':'0'}, 0, function() {});
  223. obj.animate({'opacity':'1'}, 100, function() {});
  224. return true;
  225. }
  226. function hidemenu() {
  227. setTimeout(function(){
  228. var obj = document.getElementById('menucontent');
  229. if(obj != null){hide(obj);}
  230. var obj2 = document.getElementById('menuInfo');
  231. if(obj2 != null){hide(obj2);}
  232. }, 100);
  233. }
  234. </script>
  235. <div id="header">
  236. <div id="headerContent">
  237. <a id="headerLogo" href="/"></a>
  238. <ul class="headerMenu"  id="dmd_main-menu">
  239. <li><a onclick="return doScroll('homes',event);" href="/#homes">Home</a></li>
  240. <li><a onclick="return doScroll('abouts',event);" href="/#abouts">About</a></li>
  241. <li><a onclick="return doScroll('presss',event);" href="/#presss">Press</a></li>
  242. <li><a onclick="return doScroll('contacts',event);" href="/#contacts">Contact</a></li>
  243. <li><a href="/SDK/">SDK</a></li>
  244. </ul>
  245. <div class="menu" >
  246. <div class="menubutton" unselectable="on" style="background-image:url('https://static.dermandar.com/design/images/arrow_down.png');background-repeat:no-repeat;background-position:right center;padding-right:22px" tabindex="-1" onclick="return showhidemenu('menucontent');" onblur="hidemenu();">
  247. <span class="menufullname">Main Menu</span>
  248. </div>
  249. <div class="menucontent" id="menucontent">
  250. <ul class="menuitems" id="menuitems">
  251. <li class="menuitem"><a onclick="return doScroll('homes',event);" href="/#homes">Home</a></li>
  252.                        <li class="menuitem"><a onclick="return doScroll('abouts',event);" href="/#abouts">About</a></li>
  253.                        <li class="menuitem"><a onclick="return doScroll('presss',event);" href="/#presss">Press</a></li>
  254.                        <li class="menuitem"><a onclick="return doScroll('contacts',event);" href="/#contacts">Contact</a></li>
  255. <li  class="menuitem"><a  style="line-height:36px;" href="/SDK/">SDK</a></li>
  256. </ul>
  257. </div>
  258. </div>
  259.  
  260. <div id="headerUserData">
  261. <ul class="headerMenu">
  262. <li id = "dmd_signup_btn"><a href="/signup.php">Sign Up</a></li>
  263. <li><a href="/login.php">Login</a></li>
  264. </ul>
  265. </div>
  266. </div>
  267. </div>
  268. <div  class = "footer" style="width: 100% !important;">
  269. <div style="clear:both;"></div>
  270. <div style="clear:both;"></div>
  271. </div>
  272. <div style="height:50px;"></div>
  273. <script src="https://static.dermandar.com/js/jquery-1.11.2.min.js"></script>
  274. <style>
  275. .dmd_facebook_button,.dmd_facebook_box{
  276. display:none !important;
  277. }
  278. </style>
  279. <script type="text/javascript">
  280. var type = 'user';
  281. var user_name = "powertoad9";
  282. </script>
  283. <script type="text/javascript">
  284. var flist=null;
  285.  
  286. var w=0,h=0; var dim_sq=0; var jcrop_api=0; var crop_area=[0,0,0,0];
  287. function selectionChanged(e) {
  288. crop_area=[e.x/w,e.y/h,e.x2/w,e.y2/h];
  289. }
  290. function selectionRemoved(e) {
  291. //console.log([ (w-dim_sq)/2., (h-dim_sq)/2.0, dim_sq, dim_sq ]);
  292. jcrop_api.setSelect([(w-dim_sq)/2., (h-dim_sq)/2.0, (w-dim_sq)/2.+dim_sq, (w-dim_sq)/2.+dim_sq ]);
  293. }
  294.  
  295. $(document).ready(function() {
  296.  
  297. $('#dmd_img_crop').load(function(e) {
  298. if(!jcrop_api) {
  299. $(this).Jcrop({
  300. touchSupport:true,
  301. onRelease:selectionRemoved,
  302. onChange:selectionChanged,
  303. maxSize: [1024, 1024],
  304. minSize:[0, 0],
  305. aspectRatio:1,
  306. bgOpacity: .4,
  307. setSelect: [(w-dim_sq)/2., (h-dim_sq)/2.0, (w-dim_sq)/2.+dim_sq, (w-dim_sq)/2.+dim_sq ]
  308. },function(){
  309. jcrop_api = this;
  310. });
  311. }
  312. else {
  313. jcrop_api.setImage(this.src);
  314. jcrop_api.setSelect([(w-dim_sq)/2., (h-dim_sq)/2.0, (w-dim_sq)/2.+dim_sq, (w-dim_sq)/2.+dim_sq ]);
  315. }
  316.    });
  317. });
  318.  
  319. function openToCrop(e) {
  320. var img=new Image();
  321. img.onload=function() {
  322. w=img.width;
  323. h=img.height;
  324. if(w*h>6291456) { alert("Image is too large, maximum resolution allowed: (6 MP)."); return false; };
  325. var asp=w/h;
  326. var isW=((Math.min($(window).width()-100,w)>=Math.min($(window).height()-100,h))&&(Math.min($(window).width()-100,w)/asp<=Math.min($(window).height()-100,h)));
  327. var dim=isW?Math.min($(window).width()-100,w):Math.min($(window).height()-100,h);
  328. if(isW) { w=dim; h=dim/asp; dim_sq=Math.min(w,h); } else { w=dim*asp; h=dim; dim_sq=Math.min(w,h); }
  329. dim_sq=Math.min(w,h);
  330. $('#dmd_crop_holder').parent().css("display", "block");
  331. $('#dmd_crop_holder').parent().css("width", "100%");
  332. $('#dmd_crop_holder').parent().css("height", "100%");
  333. $('#dmd_crop_holder').parent().css("position", "fixed");
  334. $('#dmd_crop_holder').parent().css("top", "0");
  335. $('#dmd_crop_holder').parent().css("left", "0");
  336. $('#dmd_crop_holder').parent().css("box-sizing", "border-box");
  337. $('#dmd_crop_holder').parent().css("background-color", "rgba(0,0,0,0.3)");
  338. $('#dmd_crop_holder').parent().css("z-index", "10000");
  339. $('#dmd_crop_holder').css("position", "absolute");
  340. $('#dmd_crop_holder').css("display", "block");
  341. $('#dmd_crop_holder').css("width", w+"px");
  342. $('#dmd_crop_holder').css("height", h+"px");
  343. $('#dmd_crop_holder').css("padding", "20px");
  344. $('#dmd_crop_holder').css("top", (($(window).height()-Math.min($(window).height()-100,h))/2.0-10)+"px");
  345. $('#dmd_crop_holder').css("left", (($(window).width()-Math.min($(window).width()-100,w))/2.0-10)+"px");
  346. $('#dmd_crop_holder').css("display", "block");
  347. $('#dmd_crop_holder').css("overflow", "hidden");
  348. $('#dmd_img_crop').css("width", w+"px"); $('#dmd_img_crop').css("height", h+"px");
  349. $('#dmd_img_crop').attr('src', URL.createObjectURL(e.target.files[0]));
  350. }
  351. img.src=URL.createObjectURL(e.target.files[0]);
  352. }
  353.  
  354. function closeAndUpload(upload) {
  355. $("#dmd_crop_holder").parent().css("display","none");
  356. if(upload)$("#dmd_frm_submit").submit();
  357. $('#profilepic').val("");
  358. jcrop_api.destroy(); jcrop_api=0;
  359. }
  360.  
  361. function checkPic(e) {
  362. flist = e.target.files;
  363. var fname=$('#profilepic').val();
  364. if(!(fname.toLowerCase().indexOf(".jpg")||fname.toLowerCase().indexOf(".jpeg"))) { alert('Invalid input.\nPlease select a square JPEG image with a maximum size of (1024x1024) pixels.'); return false; }
  365. var url=URL.createObjectURL(flist[0]);
  366. var img=new Image();
  367. img.onload=function() {
  368. if((img.width>1024)||(img.height>1024)||(img.width<=0)||(img.height<=0)) { alert('Invalid input.\nPlease select a square JPEG image with a maximum size of (1024x1024) pixels.'); $('#profilepic').val(""); return; }
  369. if(img.width!=img.height) if(!confirm("Your image would be cropped to fit a square.")) { $('#profilepic').val(""); return; }
  370. //$('#dmd_pp_holder').css('background-image', "url('"+img.src+"')");
  371. openToCrop(event);
  372. };
  373. img.src=url;
  374. }
  375.  
  376. function handleUpload(e) {
  377. e.stopPropagation();
  378.     e.preventDefault();
  379.     $("#dmd_edit_pic").html("Please Wait...");
  380.     var data = new FormData($(e.target).get(0));
  381.     data.append("crop_x1",crop_area[0]);
  382.     data.append("crop_y1",crop_area[1]);
  383.     data.append("crop_x2",crop_area[2]);
  384.     data.append("crop_y2",crop_area[3]);
  385.    $.ajax({
  386.        url: 'https://www.dermandar.com/php/auth.php',
  387.        type: 'POST',
  388.        data: data,
  389.        timeout:100*1000,
  390.        cache: false,
  391.        dataType: 'json',
  392.        processData: false,
  393.        contentType: false,
  394.        success: function(data, textStatus, jqXHR)
  395.        {
  396.            if(!data.success) {
  397.             alert("Error with the data provided. Please check your data and try again.");
  398.            }
  399.            else {
  400.             location.href=location.href;
  401.            }
  402.  
  403.            $("#dmd_edit_pic").html("Edit");
  404.        },
  405.        error: function(jqXHR, textStatus, errorThrown)
  406.        {
  407.            alert("Error: Connection problems.");
  408.        }
  409.    });
  410. }
  411. </script>
  412. <div style="width:100%; height:100%; position:fixed; top:0px; left:0px; box-sizing:border-box; display:none;">
  413. <div id="dmd_crop_holder" style="position:absolute; display:none; z-index:100000; text-align:center;">
  414. <img id="dmd_img_crop" style="width:400px; height:350px;" />
  415. <div style="display:inline-block; top:-40px; color:#000000; z-index: 10000; position:relative; cursor:pointer;"><div style="padding:10px; background-color: rgba(255,255,255,0.75); display: inline-block;" onclick="closeAndUpload(true)">Save</div> <div style="padding:10px; background-color: rgba(255,255,255,0.75); display: inline-block;" onclick="closeAndUpload(false)">Close</div></div>
  416. </div>
  417. </div>
  418. <div id="user_info" style="clear:both; width:100%; margin-top:20px;">
  419. <form id="dmd_frm_submit" method="post" action="https://www.dermandar.com//php/auth.php" name="dmd_frm_submit" enctype="multipart/form-data" onsubmit="return handleUpload(event)">
  420. <input type="hidden" name="action" value="update_user_info" />
  421. <input type="hidden" name="params" value="" />
  422. <script src="https://static.dermandar.com/js/jquery-1.11.2.min.js"></script>
  423. <script src="https://static.dermandar.com/js/jquery.Jcrop.min.js"></script>
  424. <link rel="stylesheet" href="https://static.dermandar.com/css/jcrop/jquery.Jcrop.min.css" type="text/css" />
  425. <table cellspacing="0" cellpadding="0" style="margin:0px auto; min-width:300px; max-width:550px;">
  426. <tr>
  427. <td style="width:150px; vertical-align:middle; text-align:center;">
  428. <script type="text/javascript">
  429. var oldBio="";
  430. function toggleBio(spn) {
  431. var val=$(spn).text();
  432. var spnw=parseInt($(spn).width());
  433. spn.innerHTML="";
  434. spn.onclick=function() {};
  435. if(val=="Edit bio")val="";
  436. $(spn).append('<input name="bio" type="text" value="'+val+'" onchange="saveBio(this)" onblur="saveBio(this)" style="font-size:14px; width:'+Math.max(200,spnw)+'px" />');
  437. makeSelection($(spn).find("input"));
  438. }
  439.  
  440. function saveBio(txt) {
  441. if(txt.value.trim().length>500) {
  442. alert("Please enter a valid 'bio' with no more than 500 characters.");
  443. txt.value=oldBio;
  444. }
  445. $("#dmd_bio_holder").get(0).onclick=function() { toggleBio($("#dmd_bio_holder").get(0)); };
  446. if(oldBio!=$(txt).val()) $("#dmd_frm_submit").submit();
  447. else { $("#dmd_bio_holder").html((oldBio.length==0?"<span style=\"color:#888888; font-style:italic;\">Edit bio</span></span>":oldBio)); }
  448. }
  449. function makeSelection(obj)
  450. {
  451. $(obj).focus();
  452. $(obj).select();
  453. return false;
  454. }
  455. </script>
  456. <div style="box-shadow:black 0px 0px 20px; display:inline-block; border-radius:10px; margin-right:10px; width:150px; height:150px; background:url('https://static.dermandar.com/design/images/maleprofile_256.png') 50% 50% no-repeat; background-size:cover; position:relative; overflow:hidden;">
  457. </div>
  458. </td>
  459. <td style="vertical-align:bottom;">
  460. <div style="display:inline-block; width:auto; font-size: 14px; text-align:left; padding-bottom:20px;"><b style="color:#2B64A5; font-size:24px;">powertoad9</b><br /><a style="text-decoration:underline;" target="_blank" href="http://grad-s.net">http://grad-s.net</a></div>
  461. </td>
  462. </tr>
  463. <tr>
  464. <td style="vertical-align:middle;" colspan="2">
  465. <style>
  466. ul.fav-fans-users
  467. {
  468. list-style-type: none;
  469. display:block;
  470. width:100%;
  471. margin:0px;
  472.  
  473. margin-before: 0;
  474. margin-after: 0;
  475. margin-start: 0;
  476. margin-end: 0;
  477. padding-start: 0;
  478.  
  479. -moz-margin-before: 0;
  480. -moz-margin-after: 0;
  481. -moz-margin-start: 0;
  482. -moz-margin-end: 0;
  483. -moz-padding-start: 0;
  484.  
  485. -o-margin-before: 0;
  486. -o-margin-after: 0;
  487. -o-margin-start: 0;
  488. -o-margin-end: 0;
  489. -o-padding-start: 0;
  490.  
  491. -ms-margin-before: 0;
  492. -ms-margin-after: 0;
  493. -ms-margin-start: 0;
  494. -ms-margin-end: 0;
  495. -ms-padding-start: 0;
  496.  
  497. -webkit-margin-before: 0;
  498. -webkit-margin-after: 0;
  499. -webkit-margin-start: 0;
  500. -webkit-margin-end: 0;
  501. -webkit-padding-start: 0;
  502.  
  503. margin-top:30px;
  504. color:#444444;
  505. }
  506.  
  507. ul.fav-fans-users li
  508. {
  509. list-style-type: none;
  510. float:left;
  511. display:inline-block;
  512. white-space: nowrap;
  513. padding:5px 20px;
  514. box-sizing:border-box;
  515. width:50%;
  516. font-weight:bold;
  517. cursor:pointer;
  518. background-color:#f0f0f0;
  519. border-radius:10px 10px 10px 10px;
  520. }
  521.  
  522. ul.fav-fans-users li:hover
  523. {
  524. text-decoration: underline;
  525. }
  526. ul.fav-fans-users li.selected
  527. {
  528. background-color:#fafafa;
  529. border-radius:10px 10px 0px 0px;
  530. }
  531. </style>
  532. <ul class="fav-fans-users">
  533. <li id="favorited_users_tab">
  534. Following
  535. </li>
  536. <li id="fans_tab">
  537. Followers
  538. </li>
  539. </ul>
  540. </td>
  541. </tr>
  542. <tr>
  543. <td colspan="2">
  544. <div id="favorited_users_tab_content" style="display:none; text-align:left; background-color:#fafafa; padding:10px; border-radius:0px 0px 10px 10px;"></div>
  545. <div id="fans_tab_content" style="display:none; text-align:left; background-color:#fafafa; padding:10px; border-radius:0px 0px 10px 10px;"></div>
  546. </td>
  547. </tr>
  548. </table>
  549. </form>
  550. </div>
  551. <br />
  552. <script>
  553.  
  554. $("#favorited_users_tab").click(function() {
  555. $("#fans_tab_content").hide(0);
  556. $("#fans_tab").removeClass("selected");
  557. if($("#favorited_users_tab_content").css("display")=="none") { $("#favorited_users_tab").addClass("selected"); $("#favorited_users_tab_content").slideDown(250);} else { $("#favorited_users_tab_content").slideUp(250); $("#favorited_users_tab").removeClass("selected"); }
  558. });
  559. $("#fans_tab").click(function() {
  560. $("#favorited_users_tab_content").hide(0);
  561. $("#favorited_users_tab").removeClass("selected");
  562. if($("#fans_tab_content").css("display")=="none") { $("#fans_tab").addClass("selected"); $("#fans_tab_content").slideDown(250); } else { $("#fans_tab").removeClass("selected"); $("#fans_tab_content").slideUp(250); }
  563. });
  564. $.getJSON("https://www.dermandar.com/api/browse/user/powertoad9/favorite_users", function(data) {
  565. var res="";
  566. $("#favorited_users_tab").text($("#favorited_users_tab").text()+" ("+data.users.length+")");
  567. for(var i=0; i<data.users.length; i++) {
  568. var htmlStr = "";
  569. //<div id="dmd_edit_pic" style="padding:10px;width:100%; display:inline-block; position:absolute; bottom:0px; left:0px; box-sizing:border-box; margin:auto; background-color:rgba(0,0,0,0.3); color:#ffffff; cursor:pointer;" onclick="$('#profilepic').trigger('click');">Edit</div>
  570. res+='<div><div style="position:relative; box-shadow:black 0px 0px 5px; display:inline-block; border-radius:10px; margin-right:10px; width:50px; height:50px; background:'+(data.users[i].ppeid!=""?'url(\'https://static.dermandar.com/php/getimage.php?euid='+data.users[i].publicid+'&ppeid='+data.users[i].ppeid+'&h=128\') 50% 50% no-repeat;':'url(\'https://static.dermandar.com/design/images/maleprofile_128.png\') 50% 50% no-repeat;')+' background-size:cover;">' + htmlStr + '</div>';
  571. res+='<div style="display:inline-block; width:auto; font-size: 12px; text-align:left; padding-bottom:5px;"><b style="font-size:16px;"><a target="_blank" href="//www.dermandar.com/user/'+data.users[i].username+'">'+data.users[i].username+'</a></b><br />'+(data.users[i].bio.trim()!=""?data.users[i].bio:"&nbsp;")+'</div></div><br />';
  572. }
  573. $("#favorited_users_tab_content").html(res);
  574. });
  575. $.getJSON("https://www.dermandar.com/api/browse/user/powertoad9/fans", function(data) {
  576. var res="";
  577. $("#fans_tab").text($("#fans_tab").text()+" ("+data.users.length+")");
  578. var htmlStr;
  579. for(var i=0; i<data.users.length; i++) {
  580. htmlStr = "";
  581. res+='<div><div style="position:relative; box-shadow:black 0px 0px 5px; display:inline-block; border-radius:10px; margin-right:10px; width:50px; height:50px; background:'+(data.users[i].ppeid!=""?'url(\'https://static.dermandar.com/php/getimage.php?euid='+data.users[i].publicid+'&ppeid='+data.users[i].ppeid+'&h=128\') 50% 50% no-repeat;':'url(\'https://static.dermandar.com/design/images/maleprofile_128.png\') 50% 50% no-repeat;')+' background-size:cover;">' + htmlStr + '</div>';
  582. res+='<div style="display:inline-block; width:auto; font-size: 12px; text-align:left; padding-bottom:5px;"><b style="font-size:16px;"><a target="_blank" href="//www.dermandar.com/user/'+data.users[i].username+'">'+data.users[i].username+'</a></b><br />'+(data.users[i].bio.trim()!=""?data.users[i].bio:"&nbsp;")+'</div></div><br />';
  583. }
  584. $("#fans_tab_content").html(res);
  585. });
  586. function follow(_publicid, pre)
  587. {
  588. document.getElementById(pre + 'dmd_follow_' + _publicid).style.display = 'none';
  589. var _url = "https://www.dermandar.com/api/edit/addfavuser/";
  590. $.ajax({
  591. url: _url,
  592. method: 'POST',
  593. data: { publicid : _publicid} ,
  594. success: function (response) {
  595. if(response.success)
  596. {
  597. document.getElementById(pre + 'dmd_unfollow_' + _publicid).style.display = 'inline-block';
  598. }
  599. else
  600. {
  601. document.getElementById(pre + 'dmd_follow_' + _publicid).style.display = 'inline-block';
  602. }
  603. },
  604. error: function () {
  605. alert("Sorry, something went wrong! Try again.");
  606. }
  607. });
  608. }
  609. function unFollow(_publicid, pre)
  610. {
  611. document.getElementById(pre + 'dmd_unfollow_' + _publicid).style.display = 'none';
  612. var _url = "https://www.dermandar.com/api/edit/remfavuser/";
  613. $.ajax({
  614. url: _url,
  615. method: 'POST',
  616. data: { publicid : _publicid} ,
  617. success: function (response) {
  618. if(response.success)
  619. {
  620. document.getElementById(pre + 'dmd_follow_' + _publicid).style.display = 'inline-block';
  621. }
  622. else
  623. {
  624. document.getElementById(pre + 'dmd_unfollow_' + _publicid).style.display = 'inline-block';
  625. }
  626. },
  627. error: function () {
  628. alert("Sorry, something went wrong! Try again.");
  629. }
  630. });
  631. }
  632. </script>
  633.  
  634. <div id="tags" style="width:99%;margin:auto;overflow-y:auto; background-color: #eaeaea;height:120px;overflow-y:auto">
  635. </div>
  636. <div id="dmdpano_tabsheader" class="dmdpano_tabsheader">
  637. <script>
  638. var ttmpiOS = navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i);
  639.            var ttmpANDROID = navigator.userAgent.toLowerCase().match(/android/i);
  640.            var dmd_mob=ttmpiOS||ttmpANDROID;
  641. function zoomIn(obj) {
  642. var currentMax=parseInt($("#dmd_zoom_gallery_plus").attr("currentMax"));
  643.                var currentMin=parseInt($("#dmd_zoom_gallery_plus").attr("currentMin"));
  644.                var current=currentMax;
  645. current=parseInt($(obj).attr("current"));
  646. if(current && !isNaN(current) && current<currentMax) {
  647. current++;
  648. $(".favusr-font").each(function() {
  649. $(this).get(0).style.fontSize=14*(current/8.0) + 'px';
  650. });
  651. $(".col-i").each(function() {
  652. //$(this).height((current==1?(dmd_mob?90:128):(current==2?(dmd_mob?117:166):(dmd_mob?144:205)))+"px");
  653. //$(this).width((100/((currentMax+1)-current)) + "%");
  654. $(this).get(0).style.width=(100/((currentMax+1)-current)) + "%";
  655. });
  656.  
  657. $("#dmd_zoom_gallery_plus").attr("current", current);
  658. $("#dmd_zoom_gallery_minus").attr("current", current);
  659. if(current==currentMax) {
  660. $("#dmd_zoom_gallery_plus").css("background-color", "#dadada");
  661. }
  662. else {
  663. $("#dmd_zoom_gallery_minus").css("background-color", "#ffffff");
  664. }
  665. }
  666. }
  667. function zoomOut(obj) {
  668. var currentMax=parseInt($("#dmd_zoom_gallery_plus").attr("currentMax"));
  669.                var currentMin=parseInt($("#dmd_zoom_gallery_plus").attr("currentMin"));
  670. var current=currentMin;
  671. current=parseInt($(obj).attr("current"));
  672. if(current && !isNaN(current) && current>currentMin) {
  673. current--;
  674.  
  675. $(".favusr-font").each(function() {
  676. $(this).get(0).style.fontSize=14*(current/8.0) + 'px';
  677. });
  678.  
  679. $(".col-i").each(function() {
  680. //$(this).height((current==1?(dmd_mob?90:128):(current==2?(dmd_mob?117:166):(dmd_mob?144:205)))+"px");
  681. //$(this).width((100/((currentMax+1)-current)) + "%");
  682. $(this).get(0).style.width=(100/((currentMax+1)-current)) + "%";
  683. });
  684.  
  685. $("#dmd_zoom_gallery_plus").attr("current", current);
  686. $("#dmd_zoom_gallery_minus").attr("current", current);
  687.  
  688. if(current==currentMin) {
  689. $("#dmd_zoom_gallery_minus").css("background-color", "#dadada");
  690. }
  691. else {
  692. $("#dmd_zoom_gallery_plus").css("background-color", "#ffffff");
  693. }
  694. }
  695. }
  696. </script>
  697.  
  698. <style>
  699.     #dmdpano_tabsheader ul li
  700.     {
  701.     padding:7px !important;
  702.     margin-left:0px !important;
  703.     }
  704.  
  705.     #dmdpano_tabsheader ul li span
  706.     {
  707.     padding:0px !important;
  708.     font-size:10px !important;
  709.     }
  710.    </style>
  711. <ul>
  712.     <li type = "user"  id="dmdpano_user" class="selectedtab"><span></span></li>
  713. </ul>
  714.  
  715. <style>
  716. .holder {
  717. position: relative;
  718. width: 100%;
  719. /*height: 100%;*/
  720. display: block;
  721. background-color: #ffffff;
  722. box-sizing: border-box;
  723. border-radius:5px;
  724. border:2px solid black;
  725. }
  726.  
  727. .holder:before{
  728. content: "";
  729. display: block;
  730. padding-top: 100%;
  731. }
  732.  
  733. .aspectratio:before {
  734. padding-top: 30%;
  735. }
  736.  
  737. .pano {
  738. position: absolute !important;
  739. left:0px;
  740. top:0px;
  741. bottom:0px;
  742. right:0px;
  743. width: 100%;
  744. height: 100%;
  745. display: block;
  746. background-color: #000000;
  747. box-sizing: border-box;
  748. border:1px solid white;
  749. border-radius:5px;
  750. }
  751. </style>
  752. </div>
  753. <div id="dmdpano_tabscontent" style="position:relative; text-align:left;">
  754. <div style="box-sizing:border-box; z-index:99; width:100%; font-weight:bold; position:absolute; right:0px; top:0px; margin-top:0px; white-space:nowrap; font-size:20px; color:#888888; padding:0px; padding-left:5px; padding-right:5px; ">
  755. <div id="dmd_zoom_gallery_plus" style="float:left; cursor:pointer; display:inline-block; padding:2px; margin:2px;" current="8" currentMin="1" currentMax="10" onclick="zoomIn(this)">
  756. <img style="border:0px none transparent;background-color:rgba(256,256,256,0.7)" src="https://static.dermandar.com/design/images/more.png" height="28px" />
  757. </div>
  758. <div id="dmd_zoom_gallery_minus" style="float:right; cursor:pointer; display:inline-block; padding:2px; margin:2px;" current="8" currentMin="1" currentMax="10" onclick="zoomOut(this)">
  759. <img style="border:0px none transparent;background-color:rgba(256,256,256,0.7)" src="https://static.dermandar.com/design/images/less.png" height="28px" />
  760. </div>
  761. </div>
  762. <script>
  763. var currentMax=parseInt($("#dmd_zoom_gallery_plus").attr("currentMax"));
  764.                var currentMin=parseInt($("#dmd_zoom_gallery_plus").attr("currentMin"));
  765. function onScroll() {
  766. if($(window).scrollTop()>$("#dmdpano_tabscontent").position().top-$("#dmd_zoom_gallery_plus").parent().outerHeight() - $("#header").outerHeight()) {
  767. $("#dmd_zoom_gallery_plus").parent().css("position", "fixed");
  768. $("#dmd_zoom_gallery_plus").parent().css("left", "0");
  769. $("#dmd_zoom_gallery_plus").parent().css("right", "");
  770. $("#dmd_zoom_gallery_plus").parent().css("top", "36px");
  771. $("#dmd_zoom_gallery_plus").parent().css("margin-top", "0px");
  772. $("#dmd_zoom_gallery_plus").parent().css("text-align", "center");
  773. $("#dmd_zoom_gallery_plus").parent().css("background-color", "transparent");
  774. //$("#dmd_zoom_gallery_plus").parent().css("margin-left", (-($("#dmd_zoom_gallery_plus").parent().outerWidth()/2))+"px");
  775. }
  776. else {
  777. $("#dmd_zoom_gallery_plus").parent().css("position", "absolute");
  778. $("#dmd_zoom_gallery_plus").parent().css("right", "0");
  779. $("#dmd_zoom_gallery_plus").parent().css("left", "");
  780. $("#dmd_zoom_gallery_plus").parent().css("background-color", "transparent");
  781. $("#dmd_zoom_gallery_plus").parent().css("top", "0px");
  782. $("#dmd_zoom_gallery_plus").parent().css("margin-top", (-($("#dmd_zoom_gallery_plus").parent().outerHeight())-5-20)+"px");
  783. $("#dmd_zoom_gallery_plus").parent().css("margin-left", "");
  784. }
  785. }
  786. if(dmd_mob) {
  787. $("#dmd_zoom_gallery_plus").attr("current", currentMax);
  788. $("#dmd_zoom_gallery_minus").attr("current", currentMax);
  789. $("#dmd_zoom_gallery_plus").css("background-color", "#dadada");
  790. }
  791. onScroll();
  792. $(window).scroll(function() { onScroll(); });
  793. $(window).resize(function() { onScroll(); });
  794. </script>
  795. <div pagenum = "0"  class="grid" id="dmdpano_usergrid" style=""></div>
  796. <div pagenum = "0"  class="grid" id="dmdpano_favoritesgrid" style="display:none;"></div>
  797. <div pagenum = "0"  class="grid" id="dmdpano_privatefeedgrid" style="display:none;"></div>
  798. <div style="width:100%; text-align:center; padding:10px 0px;"><img id="dmdpano_loading" src="https://static.dermandar.com/design/images/dmd_more.gif" style="margin:auto; width:24px; height:24px;"/></div>
  799. </div>
  800. <script type="text/javascript">var DMD_JS_EMBED_VERSION="107.17.38";</script>
  801. <script src="//www.dermandar.com/js/nmain.js?v=1.1.174"></script>
  802. <script>
  803. var dmdpano_isGrid = true;
  804. window.addEventListener("resize", onResize, false);
  805. </script>
  806.  
  807. <script>
  808. function beginLoading(){
  809. pageLimit = 24;
  810. loadMore();
  811. var beginTimer=setInterval(function(){beginLoadingTimer()},500);
  812. }
  813. function beginLoadingTimer() {
  814.    var scrollBoolean = isScrolled();
  815.    var lm=document.getElementById(prefix+type+"grid").getAttribute("lm");
  816. var cLM=(lm==null?true:(lm=="false"?false:true));//(typeof(canLoadMore)=="undefined")?true:canLoadMore;
  817. if(!scrollBoolean && !dmd_isLoadingNext && cLM) {
  818. loadMore();
  819. }else{
  820. if(typeof beginTimer != 'undefined'){clearInterval(beginTimer);}
  821. }
  822. }
  823. beginLoading();
  824. </script>
  825. <script>
  826. function showhidetabsmenu(){
  827. var obj = document.getElementById('tabsmenu');
  828. if(obj != null){
  829. if( !obj.style.opacity || obj.style.opacity=='0'){
  830. show(obj);
  831. }else{
  832. hide(obj);
  833. }
  834. }
  835. return false;}
  836. function hide(obj) {
  837. obj.animate = dmd_animate;
  838. obj.animate({'opacity':'0'}, 100, function() { obj.style.display="none";});
  839. return true;
  840. }
  841. function show(obj) {
  842. obj.animate = dmd_animate;
  843. obj.style.display="block";
  844. obj.animate({'opacity':'0'}, 0, function() {});
  845. obj.animate({'opacity':'1'}, 100, function() {});
  846. return true;
  847. }
  848. function hidetabsmenu() {
  849. var obj = document.getElementById('tabsmenu');
  850. if(obj != null){hide(obj);}
  851. }
  852.  
  853.  
  854.  
  855. </script>
  856. </div></div></div>
  857. <div class="footer">
  858. </div>
  859.  
  860. </body>
  861. </html>
  862.  
  863.  
  864.  
  865. <script>
  866. var pcnt=" (0)" ;
  867. var fcnt=" (0)" ;
  868. var pfeedcnt=" (0)" ;
  869. document.getElementById('dmdpano_user').firstChild.innerHTML = 'Panoramas of:\u00A0"powertoad9"'+pcnt  ;
  870. ;
  871. ;
  872. var dmdpano_isGrid = true;
  873. window.addEventListener("resize", onResize, false);
  874.  
  875. </script>
  876. <script>
  877. function showhidetabsmenu(){
  878. var obj = document.getElementById('tabsmenu');
  879. if(obj != null){
  880. if( !obj.style.opacity || obj.style.opacity=='0'){
  881. show(obj);
  882. }else{
  883. hide(obj);
  884. }
  885. }
  886. return false;}
  887. function hide(obj) {
  888. obj.animate = dmd_animate;
  889. obj.animate({'opacity':'0'}, 100, function() { obj.style.display="none";});
  890. return true;
  891. }
  892. function show(obj) {
  893. obj.animate = dmd_animate;
  894. obj.style.display="block";
  895. obj.animate({'opacity':'0'}, 0, function() {});
  896. obj.animate({'opacity':'1'}, 100, function() {});
  897. return true;
  898. }
  899. function hidetabsmenu() {
  900. var obj = document.getElementById('tabsmenu');
  901. if(obj != null){hide(obj);}
  902. }
  903.  
  904. function openProfile(a,user,id)
  905. {
  906. a.href = "//www.dermandar.com/user/" + user + "/" + id + window.location.hash;
  907. }
  908. </script>
  909.  
  910. </html>
  911.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda