Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The variable $ret does not seem to contain anything?</p> <p>1- please use ULs around your LIs 2- please use classes instead of IDs</p> <p>So, I am not very sure what you're trying to achieve with the random number, and I don't know what the overlayId and containerId should refer to, but this looks like a much better way of doing things:</p> <pre><code>&lt;?php $ret = roster(); if ( ! empty($ret)) { foreach($ret as $v) { ?&gt; &lt;div class="roster_container"&gt; &lt;div class="left_col"&gt; &lt;div class="first_left_col"&gt; &lt;h4&gt;Avatar&lt;/h4&gt; &lt;?php echo '&lt;li&gt;&lt;img src="' . $v['picture'] . '" alt="" /&gt;&lt;/li&gt;';?&gt; &lt;/div&gt; &lt;div class="second_left_col"&gt; &lt;h4&gt;Username&lt;/h4&gt; &lt;?php echo '&lt;li&gt;' . $v['login'] . '&lt;/li&gt;';?&gt; &lt;/div&gt; &lt;div class="third_left_col"&gt; &lt;h4&gt;Rank&lt;/h4&gt; &lt;?php echo '&lt;li&gt;' . $v['rank'] . '&lt;/li&gt;';?&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="right_col"&gt; &lt;div class="first_right_col"&gt; &lt;h4&gt;Toons&lt;/h4&gt; &lt;ul&gt; &lt;li&gt; &lt;div class='osx-modal'&gt; &lt;?php $n = rand(10e16, 10e20); $x = base_convert($n, 10, 36); ?&gt; &lt;input type="button" name="osx" value="View" class="osx" class="osx"/&gt; &lt;/div&gt; &lt;div class="osx-modal-content" style="display:none;"&gt; &lt;div class="close"&gt;&lt;a href="#" class="simplemodal-close"&gt;x&lt;/a&gt;&lt;/div&gt; &lt;div class="osx-modal-data"&gt; &lt;div class="toon_title"&gt;Game Characters&lt;/div&gt; &lt;div class="toon_game"&gt; &lt;?php echo '&lt;h3&gt;' . $v['game'] . '&lt;/h3&gt;';?&gt; &lt;/div&gt; &lt;div class="toon_box"&gt; &lt;div class="toon_name"&gt;&lt;?php echo $v['toon_name'];?&gt;&lt;/div&gt; &lt;div class="toon_avatar"&gt;&lt;?php echo '&lt;img src="' . $v['avatar'] . '" alt="" /&gt;';?&gt;&lt;/div&gt; &lt;div class="toon_faction"&gt;&lt;?php echo $v['faction'];?&gt;&lt;/div&gt; &lt;div class="toon_class"&gt;&lt;?php echo $v['class'];?&gt;&lt;/div&gt; &lt;div class="toon_role"&gt;&lt;?php echo $v['role'];?&gt;&lt;/div&gt; &lt;/div&gt; &lt;p&gt;&lt;button class="simplemodal-close"&gt;Close&lt;/button&gt;&lt;/p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div class="second_right_col"&gt; &lt;h4&gt;Challenge&lt;/h4&gt; &lt;ul&gt; &lt;?php echo '&lt;li&gt;&lt;a href="#" class="CHALLENGE"&gt;Challenge&lt;/a&gt;&lt;/li&gt;';?&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div class="third_right_col"&gt; &lt;h4&gt;Email&lt;/h4&gt; &lt;ul&gt; &lt;?php echo '&lt;li&gt;&lt;a href="mailto:' . $v['email'] . '"&gt;&lt;img src="http://conspirators.websitedesignbyneo.com/wp-content/themes/conspirators/css/dark-red/img/email-icon.gif" style="height:15px;width:20px;margin-top:5px;margin-left:7px;"&gt;&lt;/a&gt;&lt;/li&gt;';?&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php } } ?&gt; &lt;script&gt; jQuery(function ($) { var OSX = { container: null, init: function () { $("[name=osx]").click(function (e) { e.preventDefault(); $(this).parent().next().modal({ overlayId: 'osx-overlay', containerId: 'osx-container', closeHTML: null, minHeight: 80, opacity: 65, position: ['0',], overlayClose: true, onOpen: OSX.open, onClose: OSX.close }); }); }, open: function (d) { var self = this; &lt;/script&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload