当前位置: 首页>>代码示例>>PHP>>正文


PHP makeOverlib函数代码示例

本文整理汇总了PHP中makeOverlib函数的典型用法代码示例。如果您正苦于以下问题:PHP makeOverlib函数的具体用法?PHP makeOverlib怎么用?PHP makeOverlib使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了makeOverlib函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: display

 function display()
 {
     global $roster;
     $raids = array("Mogu'shan Vaults" => array('boss_count' => '6', 'image' => 'mv', 'cfg' => 'mv'), 'Heart of Fear' => array('boss_count' => '6', 'image' => 'hf', 'cfg' => 'hof'), 'Terrace of Endless Spring' => array('boss_count' => '4', 'image' => 'tes', 'cfg' => 'toes'), 'Throne of Thunder' => array('boss_count' => '13', 'image' => 'tot', 'cfg' => 'tot'), 'Siege of Orgrimmar' => array('boss_count' => '14', 'image' => 'soo', 'cfg' => 'soo'), 'Blackrock Foundry' => array('boss_count' => '10', 'image' => 'achievement_boss_blackhand', 'cfg' => 'brf'), 'Highmaul' => array('boss_count' => '7', 'image' => 'achievement_boss_highmaul_king', 'cfg' => 'hml'));
     $addon = getaddon('raidbox');
     //echo '<prE>';
     //print_r($addon);
     $down = 0;
     $bosses = '';
     foreach ($raids as $name => $det) {
         $down = 0;
         $per = 0;
         $bosses = $name . '<br />';
         for ($t = 1; $t < $det['boss_count'] + 1; $t++) {
             $down = $down + $addon['config']['' . $det['cfg'] . '_boss_' . $t . ''];
             $color = 'ff0000';
             if ($addon['config']['' . $det['cfg'] . '_boss_' . $t . ''] == 1) {
                 $color = '7eff00';
             }
             $e = $addon['config']['' . $det['cfg'] . '_boss_' . $t . ''] == 1 ? 'Down' : 'Up';
             //$bosses .= ''.$roster->locale->act[''.$det['cfg'].'_boss_'.$t.''].' - '.$e.'</span><br />';
             $bosses .= '<span style="color:#' . $color . ';font-size:12px;font-weight:bold;"><div style="width:250px;"><span style="float:right;">' . $e . '</span>' . $roster->locale->act['' . $det['cfg'] . '_boss_' . $t . ''] . '</div></span>';
             //$bosses .= $roster->locale->act[''.$det['cfg'].'_boss_'.$t.''].' - '.($addon['config'][''.$det['cfg'].'_boss_'.$t.''] == 1 ? 'Up' : 'Down').'<br />';
         }
         $tooltip = makeOverlib($bosses, '', '#8000ff', 0, '', ', WIDTH, 275');
         $per = $down / $det['boss_count'] * 100;
         if ($per == 0) {
             $per = '1';
         }
         $roster->tpl->assign_block_vars('raidbox', array('TITLE' => $name, 'IMG' => $addon['image_url'] . $det['image'], 'COUNT' => $det['boss_count'], 'TOOLTIP' => $tooltip, 'DOWN' => $down, 'PER' => $per, 'XPER' => 100 - $per));
     }
     $roster->tpl->set_filenames(array('rbpannle' => $addon['basename'] . '/raidbox.html'));
     $this->output = $roster->tpl->fetch('rbpannle');
 }
开发者ID:Sajaki,项目名称:wowroster_dev,代码行数:34,代码来源:rb_m.php

示例2: itemidname

function itemidname($item_id)
{
    global $roster, $tab_data, $tooltips;
    foreach ($tab_data as $tab) {
        if (is_object($tab)) {
            foreach ($tab->contents as $object) {
                $object_id = explode(':', $object->data['item_id']);
                $object_id = $object_id[0];
                $id = explode(':', $item_id);
                $id = $id[0];
                if ($object_id == $id) {
                    $tooltip = makeOverlib($object->html_tooltip, '', '', 2, '', ', WIDTH, 325');
                    $num_of_tips = count($tooltips) + 1;
                    $linktip = '';
                    foreach ($roster->locale->wordings[$roster->config['locale']]['itemlinks'] as $key => $ilink) {
                        $linktip .= '<a href="' . $ilink . $item_id . '" target="_blank">' . $key . '</a><br />';
                    }
                    setTooltip($num_of_tips, $linktip);
                    setTooltip('itemlink', $roster->locale->wordings[$roster->config['locale']]['itemlink']);
                    $linktip = ' onclick="return overlib(overlib_' . $num_of_tips . ',CAPTION,overlib_itemlink,STICKY,NOCLOSE,WRAP,OFFSETX,5,OFFSETY,5);"';
                    return '<span style="color:#' . $object->data['item_color'] . ';font-weight:bold;" ' . $tooltip . $linktip . '>[' . $object->data['item_name'] . ']</span>';
                }
            }
        }
    }
    return $item_id;
}
开发者ID:reddragon010,项目名称:wowroster-rge,代码行数:27,代码来源:index.php

示例3: out

 function out()
 {
     global $roster, $addon, $tooltips;
     $lang = $this->data['locale'];
     $bag_type = strpos($this->data['item_slot'], 'Bank') !== false ? 'bank' : 'bag';
     $bag_type = $this->data['item_slot'] == 'Bag5' ? 'key' : $bag_type;
     $bag_style = $this->data['item_quantity'] % 4;
     if ($bag_style == 0) {
         $offset = $this->data['item_quantity'] / 4 * 41;
         $offset += 42;
     } elseif ($bag_style == 2) {
         $offset = ($this->data['item_quantity'] - 2 + 1) / 4 * 41;
         $offset += 53;
     }
     // Item links
     list($item_id) = explode(':', $this->item_id);
     $num_of_tips = count($tooltips) + 1;
     $linktip = '';
     foreach ($roster->locale->wordings[$lang]['itemlinks'] as $key => $ilink) {
         $linktip .= '<a href="' . $ilink . $item_id . '" target="_blank">' . $key . '</a><br />';
     }
     setTooltip($num_of_tips, $linktip);
     setTooltip('itemlink', $roster->locale->wordings[$lang]['itemlink']);
     $linktip = ' onclick="return overlib(overlib_' . $num_of_tips . ',CAPTION,overlib_itemlink,STICKY,NOCLOSE,WRAP,OFFSETX,5,OFFSETY,5);"';
     $roster->tpl->assign_block_vars('bag', array('NAME' => $this->data['item_name'], 'SLOT' => $this->data['item_slot'], 'TYPE' => $bag_type, 'STYLE' => $bag_style, 'OFFSET' => $offset, 'ICON' => $this->data['item_texture'], 'TOOLTIP' => makeOverlib($this->data['item_tooltip'], '', $this->data['item_color'], 0, $lang), 'LINKTIP' => $linktip));
     // Select all item for this bag
     for ($slot = 0; $slot < $this->data['item_quantity']; $slot++) {
         if (isset($this->contents[$slot + 1])) {
             $item = $this->contents[$slot + 1];
             $roster->tpl->assign_block_vars('bag.item', array('ICON' => $item->out()));
         } else {
             $roster->tpl->assign_block_vars('bag.item', array('ICON' => '<div class="item"><img src="' . $roster->config['img_url'] . 'pixel.gif" class="noicon" alt="" /></div>'));
         }
     }
 }
开发者ID:reddragon010,项目名称:wowroster-rge,代码行数:35,代码来源:bag.php

示例4: guide_step1

function guide_step1()
{
    global $roster;
    $name = post_or_db('name');
    $server = post_or_db('server');
    $region = strtoupper(substr(post_or_db('region'), 0, 2));
    $roster->tpl->assign_vars(array('S_STEP_1' => true, 'NAME' => $name, 'SERVER' => $server, 'REGION' => $region, 'L_NAME_TIP' => makeOverlib($roster->locale->act['guildname']), 'L_SERVER_TIP' => makeOverlib($roster->locale->act['realmname']), 'L_REGION_TIP' => makeOverlib($roster->locale->act['regionname'])));
}
开发者ID:Sajaki,项目名称:wowroster,代码行数:8,代码来源:install_guide.php

示例5: getNoteIcon

/**
 * WoWRoster.net EventCalendar
 *
 * Event Calendar is a Roster addon that will show upcoming events from ingame
 * WoW addons GuildEventManager (GEM) or GroupCalendar
 *
 * LICENSE: Licensed under the Creative Commons
 *          "Attribution-NonCommercial-ShareAlike 2.5" license
 *
 * @copyright  2006-2007 PoloDude
 * @license    http://creativecommons.org/licenses/by-nc-sa/2.5   Creative Commons "Attribution-NonCommercial-ShareAlike 2.5"
 * @version    1.0.3
 * @svn        SVN: $Id$
 * @author     PoloDude
 * @link       http://www.wowroster.net/Forums/viewforum/f=59.html
 *
*/
function getNoteIcon($note)
{
    global $wowdb, $roster_conf, $wordings, $rt_wordings, $db_prefix;
    $icon_value = '';
    if ($note != '') {
        $icon_value = '<img src="' . $roster_conf['img_url'] . 'note.gif" style="cursor:help;" class="membersRowimg" alt="' . $wordings[$roster_conf['roster_lang']]['note'] . '" ' . makeOverlib(stripslashes($note), $wordings[$roster_conf['roster_lang']]['note'], '', 1) . '>';
    } else {
        $icon_value = '<img src="' . $roster_conf['img_url'] . 'no_note.gif" class="membersRowimg" alt="' . $wordings[$roster_conf['roster_lang']]['note'] . '">';
    }
    return $icon_value;
}
开发者ID:Sajaki,项目名称:addons,代码行数:28,代码来源:functions.php

示例6: debugNote

function debugNote($row, $field, $data)
{
    global $addon;
    $rules = $addon['rules']['use_global'] ? $addon['config'] : $addon['rules'];
    if (preg_match($rules['getmain_regex'], $row[$field], $regs)) {
        $tooltip_h = $regs[$rules['getmain_match']];
        $tooltip = aprint($regs, '', true);
    } else {
        $tooltip_h = '';
        $tooltip = 'No main match';
    }
    return '<div ' . makeOverlib($tooltip, $tooltip_h) . '>' . $row[$field] . '</div>' . "\n";
}
开发者ID:Sajaki,项目名称:wowroster,代码行数:13,代码来源:debug.php

示例7: out

 function out()
 {
     global $roster_conf, $wordings, $itemlink, $char;
     if (!is_object($char)) {
         $lang = $roster_conf['roster_lang'];
     } else {
         $lang = $char->data['clientLocale'];
     }
     $path = $roster_conf['interface_url'] . $this->data['recipe_texture'] . '.' . $roster_conf['img_suffix'];
     $tooltip = makeOverlib($this->data['recipe_tooltip'], '', $this->data['item_color'], 0, $lang);
     $returnstring = '<div class="item" ' . $tooltip . '>';
     $returnstring .= '<a href="' . $itemlink[$roster_conf['roster_lang']] . urlencode(utf8_decode($this->data['recipe_name'])) . '" target="_blank">' . '<img src="' . $path . '" class="icon"' . " alt=\"\" /></a>\n";
     $returnstring .= '</div>';
     return $returnstring;
 }
开发者ID:Sajaki,项目名称:addons,代码行数:15,代码来源:recipe.lib.php

示例8: guildAchievement

    function guildAchievement($data)
    {
        global $roster, $tooltips;
        $tooltip_text = $data['Achievement'];
        //return 'Earned the achievement "'.$data['achievement']['title'].'"<br>';
        $tooltip = makeOverlib($tooltip_text, '', '', 0, '', ', WIDTH, 325');
        $ts = $data['ts'] / 1000;
        return '<div class="line">
			<span  class="icon-frame frame-36" >
			<img src="http://www.wowroster.net/Interface/Icons/' . $data['achievement_icon'] . '.png" />
			</span>
			<div class="text">
				Earned the achievement <span style="color:#FFB100" ' . $tooltip . '>' . $data['achievement_title'] . '</span> for ' . $data['achievement_points'] . ' points.
			</div>
			<div class="date">' . $this->convert_date($ts) . '</div>
		</div>';
    }
开发者ID:Sajaki,项目名称:wowroster_dev,代码行数:17,代码来源:feed.php

示例9: note_value

/**
 * Controls Output of a Note Column
 *
 * @param array $row - of character data
 * @return string - Formatted output
 */
function note_value($row, $field)
{
    global $roster, $addon;
    if (!empty($row[$field])) {
        $note = htmlspecialchars(nl2br($row[$field]));
        if ($addon['config']['compress_note']) {
            $note = '<img src="' . $roster->config['theme_path'] . '/images/note.gif" style="cursor:help;" ' . makeOverlib($note, $roster->locale->act['note'], '', 1, '', ',WRAP') . ' alt="[]" />';
        } else {
            $value = $note;
        }
    } else {
        $note = '&nbsp;';
        if ($addon['config']['compress_note']) {
            $note = '<img src="' . $roster->config['theme_path'] . '/images/no_note.gif" alt="[]" />';
        } else {
            $value = $note;
        }
    }
    return '<div style="display:none;">' . $row['note'] . '</div>' . $note;
}
开发者ID:Sajaki,项目名称:wowroster,代码行数:26,代码来源:log.php

示例10: guild_rep

 public function guild_rep($row, $field)
 {
     global $roster, $member_list_where;
     if (isset($row['curr_rep'])) {
         $img = array('999' => 'exalted', '1000' => 'exalted', '21000' => 'revered', '12000' => 'honored', '6000' => 'friendly', '3000' => 'neutral', '-3000' => 'unfriendly', '-6000' => 'hostile', '36000' => 'hated');
         $percentage = round($row['curr_rep'] / $row['max_rep'] * 100);
         $toolTip = ' [' . $row['curr_rep'] . ' / ' . $row['max_rep'] . ' ] ';
         $toolTiph = $row['Standing'];
         $tooltip = makeOverlib($toolTip, $toolTiph, '', 2, '', ',WRAP');
         $cell_value = '<div ' . $tooltip . ' style="cursor:default;"><div class="levelbarParent" style="width:70px;"><div class="levelbarChild">' . $row['Standing'] . '</div></div>';
         $cell_value .= '<table class="expOutline" border="0" cellpadding="0" cellspacing="0" width="70">';
         $cell_value .= '<tr>';
         $cell_value .= '<td style="background-image: url(\'' . $roster->config['theme_path'] . '/images/bars/' . $img[$row['max_rep']] . '.gif\');" width="' . $percentage . '%"><img src="' . $roster->config['img_url'] . 'pixel.gif" height="14" width="1" alt="" /></td>';
         $cell_value .= '<td width="' . (100 - $percentage) . '%"></td>';
         $cell_value .= "</tr>\n</table>\n</div>\n";
         return '<div style="display:none;">' . str_pad($row['Standing'], 2, '0', STR_PAD_LEFT) . '</div>' . $cell_value;
     } else {
         $cell_value = '';
         //'<div ' . $tooltip . ' style="cursor:default;">' . $row['Standing'] . '</div>';
         return $cell_value;
     }
 }
开发者ID:Sajaki,项目名称:wowroster_dev,代码行数:22,代码来源:guild_rep.php

示例11: out

 function out()
 {
     global $roster, $char, $tooltips;
     if (!is_object($char)) {
         $lang = $roster->config['locale'];
     } else {
         $lang = $char->data['clientLocale'];
     }
     $path = $roster->config['interface_url'] . 'Interface/Icons/' . $this->data['recipe_texture'] . '.' . $roster->config['img_suffix'];
     // Item links
     $num_of_tips = count($tooltips) + 1;
     $linktip = '';
     foreach ($roster->locale->wordings[$lang]['data_links'] as $key => $ilink) {
         $linktip .= '<a href="' . $ilink . urlencode(utf8_decode($this->data['recipe_name'])) . '" target="_blank">' . $key . '</a><br />';
     }
     setTooltip($num_of_tips, $linktip);
     setTooltip('itemlink', $roster->locale->wordings[$lang]['data_search']);
     $linktip = ' onclick="return overlib(overlib_' . $num_of_tips . ',CAPTION,overlib_itemlink,STICKY,NOCLOSE,WRAP,OFFSETX,5,OFFSETY,5);"';
     $tooltip = makeOverlib($this->data['recipe_tooltip'], '', $this->data['item_color'], 0, $lang);
     $returnstring = '<div class="item" ' . $tooltip . $linktip . '>';
     $returnstring .= '<img src="' . $path . '" class="icon" alt="" />' . "\n";
     $returnstring .= '</div>';
     return $returnstring;
 }
开发者ID:reddragon010,项目名称:wowroster-rge,代码行数:24,代码来源:recipes.php

示例12: border

//echo '<pre>';
//print_r($lootcfg);
//echo '</pre>';
$form = '';
$html = '';
$menu .= '
<!-- Begin Config Menu -->
' . border('sgray', 'start', 'Config Menu') . '
<div >
  <ul id="rp_menu" class="tab_menu">' . "\n";
$first_tab = ' class="selected"';
$menu .= '<li class="selected">
                  <a href="#" rel="i0" ' . makeOverlib($roster->locale->act['admin']['main'], $caption = $roster->locale->act['admin']['main'], $caption_color = '', $mode = 0, $locale = '', $extra_parameters = '') . ">" . $roster->locale->act['admin']['main'] . "</a></li>\n";
$r = '0';
foreach ($instcfg as $instance => $inst) {
    $menu .= '<li><a href="#" rel="i' . $inst['inst_id'] . '" ' . makeOverlib($inst['inst_zone'] . '<br>' . $roster->locale->act['admin']['t_boss'] . ': ' . $inst['inst_t_bosses'], $caption = $inst['inst_name'], $caption_color = '', $mode = 0, $locale = '', $extra_parameters = '') . '>' . $roster->locale->act['admin'][$inst['inst_name']] . '</a></li>' . "\n";
}
$menu .= '</ul></div>' . border('sgray', 'end');
$html .= '<div id="i0" style="display:none">';
$html .= '' . border('sgreen', 'start', $roster->locale->act['admin']['main']) . '';
$html .= '<table width="600" cellspacing="0" cellpadding="0">';
$html .= '<tr><td>' . $roster->locale->act['admin']['loot_main'] . '';
$html .= '</td></tr>';
$html .= '</table>' . border('sgreen', 'end') . '';
$html .= "</div>\n\n";
foreach ($instcfg as $instance => $inst) {
    $html .= '<div id="i' . $inst['inst_id'] . '" style="display:none">';
    $html .= '' . border('sgreen', 'start', '' . $inst['inst_name'] . '') . '';
    $html .= '<table width="600" cellspacing="0" cellpadding="0">';
    $stripe = 0;
    foreach ($bosscfg as $b_inst => $b_id) {
开发者ID:Sajaki,项目名称:addons,代码行数:31,代码来源:loot.php

示例13: border

        $formbody .= "\t</tr>\n";
        $i++;
    }
    $formbody .= "</table>\n" . border('syellow', 'end') . "\n</div>\n";
    $formbody .= $prev . $listing . $next;
} else {
    $formbody = 'No Data';
}
$roster->output['body_onload'] .= 'initARC(\'config\',\'radioOn\',\'radioOff\',\'checkboxOn\',\'checkboxOff\');';
$body = "\n<form action=\"\" method=\"post\" enctype=\"multipart/form-data\" id=\"config\" onsubmit=\"return confirm('" . $roster->locale->act['confirm_config_submit'] . "');submitonce(this);\">\n\t{$formbody}\n<br /><br />\n<input type=\"submit\" value=\"" . $roster->locale->act['config_submit_button'] . "\" />\n<input type=\"reset\" name=\"Reset\" value=\"" . $roster->locale->act['config_reset_button'] . "\" onclick=\"return confirm('" . $roster->locale->act['confirm_config_reset'] . "')\"/>\n<input type=\"hidden\" name=\"process\" value=\"process\" />\n\n</form>";
$tab1 = explode('|', $roster->locale->act['acc_settings']['set']);
$tab2 = explode('|', $roster->locale->act['acc_settings']['prof']);
$menu = messagebox('
<ul class="tab_menu">
	<li class="selected"><a href="' . makelink('util-accounts-settings') . '" style="cursor:help;"' . makeOverlib($tab1[1], $tab1[0], '', 1, '', ',WRAP') . '>' . $tab1[0] . '</a></li>
	<li><a href="' . makelink('util-accounts-settings-profile') . '" style="cursor:help;"' . makeOverlib($tab2[1], $tab2[0], '', 1, '', ',WRAP') . '>' . $tab2[0] . '</a></li>
</ul>
', $roster->locale->act['acc_page']['settings'], 'sgray', '145px');
/**
 * Process Data for entry to the database
 *
 * @return string Settings changed or not changed
 */
function processData()
{
    global $roster;
    $update_sql = array();
    // Update only the changed fields
    foreach ($_POST as $settingName => $settingValue) {
        if (substr($settingName, 0, 5) == 'disp_') {
            $settingName = str_replace('disp_', '', $settingName);
开发者ID:Sajaki,项目名称:addons,代码行数:31,代码来源:settings.php

示例14: makeFileFields

 /**
  * Returns the file input fields for all addon files we need.
  *
  * @return string $filefields | The HTML, without border
  */
 function makeFileFields($blockname = 'file_fields')
 {
     global $roster;
     if (!is_array($this->files) || count($this->files) == 0) {
         $roster->tpl->assign_block_vars($blockname, array('TOOLTIP' => '', 'FILE' => 'No files accepted!'));
     }
     $account_dir = '<i>*WOWDIR*</i>\\\\WTF\\\\Account\\\\<i>*ACCOUNT_NAME*</i>\\\\SavedVariables\\\\';
     foreach ($this->files as $file) {
         $roster->tpl->assign_block_vars($blockname, array('TOOLTIP' => makeOverlib($account_dir . $file . '.lua', $file . '.lua Location', '', 2, '', ',WRAP'), 'FILE' => $file));
     }
 }
开发者ID:Sajaki,项目名称:wowroster,代码行数:16,代码来源:update.lib.php

示例15: key_value

function key_value($row, $field, $data)
{
    global $roster, $addon;
    $key_data = $data['stages'];
    if ($row[$field . '_stages'] === null) {
        return '&nbsp;';
    } else {
        $active_stages = explode(',', $row[$field . '_stages']);
    }
    $last_stage = max(array_keys($key_data));
    $num_completed_stages = 0;
    $depth = 0;
    $completed[0] = false;
    $tooltip_h = $field;
    $tooltip = '';
    for ($id = $last_stage; $id >= 0; $id--) {
        if ($key_data[$id]['flow'] == ')' || $key_data[$id]['flow'] == '()') {
            $depth++;
            $completed[$depth] = $completed[$depth - 1];
            $tooltip = '</div>' . $tooltip;
        }
        if (in_array($id, $active_stages)) {
            $tipline = '<span style="color:' . $addon['config']['colorcur'] . ';">' . $key_data[$id]['value'] . '</span><br />';
            $completed[$depth] = true;
            if ($key_data[$id]['active']) {
                $num_completed_stages++;
            }
        } elseif ($completed[$depth]) {
            $tipline = '<span style="color:' . $addon['config']['colorcmp'] . ';">' . $key_data[$id]['value'] . '</span><br />';
            $num_completed_stages++;
        } else {
            $tipline = '<span style="color:' . $addon['config']['colorno'] . ';">' . $key_data[$id]['value'] . '</span><br />';
        }
        if ($key_data[$id]['flow'] == '(' || $key_data[$id]['flow'] == '()') {
            if ($depth == 0) {
                $error = 'key_syntax';
            }
            if ($completed[$depth]) {
                $completed[$depth - 1] = true;
            }
            $depth--;
            $tipline = '<div class="keyindent">' . $tipline;
        }
        $tooltip = $tipline . $tooltip;
    }
    $tooltip = '<div style="cursor:pointer;" ' . makeOverlib($tooltip, $tooltip_h, '', 2) . '>';
    if (in_array($last_stage, $active_stages)) {
        $output = '<div class="item-sm"><img src="' . $roster->config['interface_url'] . 'Interface/Icons/' . $data['icon'] . '.' . $roster->config['img_suffix'] . '" alt="" /><div class="mask"></div></div>';
    } else {
        $perc_done = round($num_completed_stages / ($last_stage + 1) * 100);
        $output = '<div class="levelbarParent" style="width:40px;"><div class="levelbarChild">' . $num_completed_stages . '/' . ($last_stage + 1) . '</div></div>' . "\n" . '<table class="expOutline" border="0" cellpadding="0" cellspacing="0" width="40">' . "\n" . '<tr>' . "\n" . '<td style="background-image: url(\'' . $roster->config['img_url'] . 'expbar-var2.gif\');" width="' . $perc_done . '%">' . "\n" . '<img src="' . $roster->config['img_url'] . 'pixel.gif" height="14" width="1" alt="" />' . "\n" . '</td>' . "\n" . '<td width="' . (100 - $perc_done) . '%"></td>' . "\n" . '</tr>' . "\n" . '</table>' . "\n";
    }
    return '<div style="display:none; ">' . $num_completed_stages . '</div>' . $tooltip . $output . '</div>';
}
开发者ID:Sajaki,项目名称:wowroster,代码行数:54,代码来源:index.php


注:本文中的makeOverlib函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。