View Single Post
Old 12-23-2020, 10:01 AM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,057
Quote:
Originally Posted by beaner View Post
You are so full of shit Sara. You got a site to hit for keywords, bragged about it, then put code up open source. I used that open source code and you accused me of stealing it. Fuck you
You are completely delusional. The code was put up January 2014. The site did not start getting any traction in the SEs until July 2014.

I never accused you of stealing it. I told you that your programmer did not write it from scratch, and he didn't. Anybody that can read code, even at the beginner level, can compare the stuff I posted and tell you that one was cribbed from the other.

You, for some reason, decided that your programmer did not crib the code (as you have such great luck with programmers) and decided to call me a liar among other things.

This was posted on January 14, 2014:

Quote:
For what it's worth, shitty code and all ;p

<!--
Example of using a chaturbate feed to make a mini site.
January 4, 2014
-->
<html>
<head>
<base href="https://gfy.com/" /><!--[if IE]></base><![endif]-->
<base href="https://gfy.com/" /><!--[if IE]></base><![endif]-->
<meta http-equiv="content-type" content="text/html; charset=windows-1250">

<title>Simple Chaturbate XML Example</title>

<!-- little java scriptlet to populate and show the currently showing window when a pic is clicked -->
<script type="text/javascript">
function loadit(urlin, userin, chaturl)
{
currshow.innerHTML='Currently Showing: ' + userin + ' <input type=button value=Close onClick="currshow.innerHTML=\'\';currshow.style.di splay=\'none\';"><br><a onClick="currshow.innerHTML=\'\';currshow.style.di splay=\'none\';" target=_blank href="' + chaturl + '"><iframe border=0 scrolling="no" src="' + urlin + '" height="440" width="503"></iframe><br>Click Here To Join The Chat!</a>';
currshow.style.display='block';
scroll(0,0);
}
</script>
</head>
<body style="text-align:center;">
<div style="width:100%;text-align:center;">
<h2>Chaturbate XML Example</h2>

<?php

// pull in the xml feed
// this should be the link you get from the chaturbate tools, replace the link that is there
$userlist = simplexml_load_file('http://chaturbate.com/affiliates/api/onlinerooms/?format=xml&wm=JkjyU');

// counter for female count
$fcnt=0;

// how many females are in there
// go through array to compute number of females
foreach ($userlist as $user)
{
if($user->gender=='f')
{
$fcnt++;
}
}

// 6 column display
// itemcnt is the number of items in each column
$itemcnt=intval($fcnt/6);
if($fcnt/6-$itemcnt>0)
{
$itemcnt++;
}

// counters to keep track of columns and items
$colcnt=0;
$itmcnt=0;

// go through the user list from top to bottom
foreach ($userlist as $user)
{
// ignore if they are not marked female
if($user->gender=='f')
{
//if we are at the stsrt of the column
if($itmcnt==0 || $itmcnt==$itemcnt)
{
$colcnt++;
// if we have been in a column close the column
if($itmcnt>0)
{
?>

</div>

<?php
}
// if we are at the top of column 2 then we want to insert the hidden div for the currently showing window
if($colcnt==2)
{
// to get the columns to do the move down we put a div across the top of columns 2 through 5
// then we put the hidden div inside that div
?>
<div style="width:800px;float:left;margin:auto;">
<div name="currshow" id="currshow" style="float:none;display:none;width:500px;height: 540px;text-align:center;margin:auto;"></div>

<?php
}
// if we are at the start of column 6 we need to close the div that we used to push the columns down
if($colcnt==6)
{
?>

</div>

<?php
}
// put up the start of each column div
?>

<div name=col' . $colcnt . ' id=col' . $colcnt . ' style="width:200px;float:left;">

<?php
// reset itemcnt to zero at start of each column
$itmcnt=0;
}
// incerment the itemcnt to reflect we are printing an oitem
$itmcnt++;
// extract the url used for the embed from the iframe embed element
$iframe=substr($user->iframe_embed,strpos($user->iframe_embed,'http'));
$iframe=substr($iframe,0,strpos($iframe,"'"));
// print the next item
// we are truncating the language and location variables because of the crap people put in there
?>
<div style="height:250px;">
Host: <?php echo substr($user->username,0,20); ?><br>
<img src="<?php echo $user->image_url; ?>" onClick="loadit(<?php echo "'$iframe','$user->username','$user->chat_room_url'"; ?>);"><br>
Time on line: <?php echo number_format($user->seconds_online/60,2); ?> minutes<br>
Language(s) spoken: <?php echo substr(trim($user->spoken_languages),0,18); ?><br>
<?php
// if they have a url or a twitter or email address in location then do not show it
if(substr_count(strtolower($user->location),'http')==0 && substr_count(strtolower($user->location),'@')==0)
{
?>
Location: <?php echo substr(trim($user->location),0,18); ?>
<?php
}
// then put in a little space between rows
?>
</div>
<div style="height:20px;"></div>
<?php
}
}
?>

</div>
</div>
</body>
</html>
Last edited by sarettah; January 4th, 2014 at 06:34 PM.
__________________
All cookies cleared!
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote