7 – Center concatenated fields in theme table

In the attached image I have two similar tables. The first one was created using views, the second one is the table I’m creating with my own module.

My question is: How can I center the information in the middle (the teams and logos). I want the “-” to be vertically aligned. Also, why does the header is never aligned with the rows? Below is my code where I try to use class to make the alignment but without success.

My site theme is Boostrap.

Thanks!

enter image description here

function getNextGamesTable($league_id) {
    $header = array(
        array('data' => 'Date', 'align' => 'center'),
        array('data' => 'status', 'align' => 'center'),
        array('data' => 'Score', 'align' => 'center'),
        array('data' => 'Odd', 'align' => 'center'),
        array('data' => 'Bet', 'align' => 'center'),
        array('data' => 'Possible returns', 'align' => 'center'),
    );
    
    $statusInput = 'Match Finished';
    $tid_status = key(taxonomy_get_term_by_name($statusInput, 'status'));
    
    $rows = array();
    
    $query = new EntityFieldQuery();
    $query->entityCondition('entity_type', 'node')
        ->entityCondition('bundle', array('fixture'))
        ->fieldCondition('field_league_id', 'value', $league_id , '=')
        ->fieldCondition('field_status', 'tid', $tid_status, '<>')
        ->propertyCondition('status', 1)
        ->fieldOrderBy('field_event_timestamp', 'value', 'ASC');
    $result = $query->execute();

    if (!empty($result('node'))) {
        $nids = array_keys($result('node'));

        $nodes = node_load_multiple(array_keys($result('node')));
        
        foreach ($nodes as $node) {
            $date = date("d-m-Y H:i", $node->field_event_timestamp('und')(0)('value'));
            $status = getNameFromTid($node->field_status('und')(0)('tid'));
            $hometeam = getNameFromTid($node->field_hometeam_name('und')(0)('tid'));
            $hometeamLogo = '<img class="custom-image-style" width="25" height="25" src="' . getNameFromTid($node->field_hometeam_logo('und')(0)('tid')) . '">';
            $awayteam = getNameFromTid($node->field_awayteam_name('und')(0)('tid'));
            $awayteamLogo = '<img class="custom-image-style" width="25" height="25" src="' . getNameFromTid($node->field_awayteam_logo('und')(0)('tid')) . '">';
            if (isset($node->field_score_fulltime('und')(0)('value'))) {
                $score_fulltime = $node->field_score_fulltime('und')(0)('value');
            } else {
                $score_fulltime = '';
            }
            if (isset($node->field_score_halftime('und')(0)('value'))) {
                $score_halftime = $node->field_score_halftime('und')(0)('value');
            } else {
                $score_halftime = '';
            }
            if (!empty($score_halftime)) {
                $score = $hometeam . $hometeamLogo . $score_fulltime . ' (' . $score_halftime . ')' . $awayteamLogo . $awayteam;
            } else {
                $score = $hometeam . $hometeamLogo . ' - ' . $awayteamLogo . $awayteam;
            }
            $odd = number_format($node->field_odd('und')(0)('value'), 2);
            $bet = number_format($node->field_bet_value('und')(0)('value'), 2);
            $possible_returns = number_format($node->field_possible_returns('und')(0)('value'), 2);

            $rows() = array(
                array('data' => $date, 'align' => 'center'),
                array('data' => $status, 'align' => 'center'),
                array('data' => $score, 'align' => 'center'),
                array('data' => $odd, 'align' => 'center'),
                array('data' => $bet, 'align' => 'center'),
                array('data' => $possible_returns, 'align' => 'center'),
            );
        }
    }
    
    $table_attributes = array('id' => 'nextgames-table', 'align' => 'center');
    
    $form('table') = array(
        '#markup' => theme('table', array('header' => $header, 'rows' => $rows)),
    );
    
    $tableInfo = array(
        'header' => $header,
        'rows' => $rows,
    );
    
    return $tableInfo;
}

I will Approve Your Website In Google news or Google News Publisher Center for $55

I have more than 1-year experience in Google news, and I approve 50+ sites in Google news.

Are you want to drive traffic from Google without doing any SEO, then You Need to Approve Your Website in Google News. If you see the Analytics of a News website, then the traffic is in Millions.

If you are already aware of what Google News Website or Publication, then you know Google news’s power. If you don’t know I describe below some Key Features –

1. Rapid Indexing

If you are an SEO person, then you must know what the benefit of fast indexing is. What if I say your article will be on the web in 5 to 10 minutes after publishing it? Yes, with Google News domains, you can do it.

2. Get Followers and Traffic for Google News

If your site is approved on google news, you get the right amount of traffic from google news.

3. Increase Website Authority

If your content is Great, then your bounce rate will decrease, which leads to boost your Website authority on behalf of Google.

Don’t Miss the Opportunity Place Your Order Now…

.

[Vn5socks.net] Auto update 24/7 – Good socks 12h40 PM


LIVE ~ 115.150.164.246:27221 | 0.113 | Beijing | 22 | Unknown | China | Checked at vn5socks.net
LIVE ~ 115.223.165.142:37484 | 0.19 | Wenzhou | 02 | Unknown | China | Checked at vn5socks.net
LIVE ~ 119.55.226.96:37106 | 0.119 | Changchun | 05 | Unknown | China | Checked at vn5socks.net
LIVE ~ 47.93.84.168:1081 | 0.086 | Ottawa | ON | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 72.221.164.35:60670 | 0.341 | Unknown | Unknown | Unknown | United States | Checked at vn5socks.net
LIVE ~ 72.49.49.11:31034 | 0.313 | Cincinnati | OH | 45213 | United States | Checked at vn5socks.net
LIVE ~ 136.244.66.25:33282 | 0.234 | New London | CT | 06320 | United States | Checked at vn5socks.net
LIVE ~ 125.89.10.128:27289 | 0.15 | Zhuhai | 30 | Unknown | China | Checked at vn5socks.net
LIVE ~ 113.57.56.21:35554 | 0.199 | Hubei | 03 | Unknown | China | Checked at vn5socks.net
LIVE ~ 155.138.142.99:30564 | 0.258 | University Center | MI | 48710 | United States | Checked at vn5socks.net
LIVE ~ 37.230.136.43:19031 | 0.24 | Unknown | Unknown | Unknown | Russian Federation | Checked at vn5socks.net
LIVE ~ 37.57.107.99:9999 | 0.271 | Unknown | Unknown | Unknown | Ukraine | Checked at vn5socks.net
LIVE ~ 45.77.106.122:13802 | 0.268 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
LIVE ~ 54.188.198.118:9146 | 0.258 | Woodbridge | NJ | 07095 | United States | Checked at vn5socks.net
LIVE ~ 54.188.198.118:9066 | 0.272 | Woodbridge | NJ | 07095 | United States | Checked at vn5socks.net
LIVE ~ 80.233.134.119:9300 | 0.248 | Unknown | Unknown | Unknown | Latvia | Checked at vn5socks.net


FireHeaven
Reviewed by FireHeaven on
.
[Vn5socks.net] Auto update 24/7 – Good socks 12h40 PM
LIVE ~ 115.150.164.246:27221 | 0.113 | Beijing | 22 | Unknown | China | Checked at vn5socks.net
LIVE ~ 115.223.165.142:37484 | 0.19 | Wenzhou | 02 | Unknown | China | Checked at vn5socks.net
LIVE ~ 119.55.226.96:37106 | 0.119 | Changchun | 05 | Unknown | China | Checked at vn5socks.net
LIVE ~ 47.93.84.168:1081 | 0.086 | Ottawa | ON | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 72.221.164.35:60670 | 0.341 | Unknown | Unknown | Unknown | United States |

Rating: 5



.

Crash cart options for data center

We are needing to add in some more crash carts due to extra growth and normally we pick up something like the following.

[URL="https://www…. | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1821197&goto=newpost

[Vn5socks.net] Auto update 24/7 – Good socks 9h45 PM


LIVE ~ 49.70.142.246:33403 | 0.106 | Nanjing | 04 | Unknown | China | Checked at vn5socks.net
LIVE ~ 37.230.136.43:19059 | 0.203 | Unknown | Unknown | Unknown | Russian Federation | Checked at vn5socks.net
LIVE ~ 115.150.164.246:27221 | 0.113 | Beijing | 22 | Unknown | China | Checked at vn5socks.net
LIVE ~ 115.223.165.142:37484 | 0.19 | Wenzhou | 02 | Unknown | China | Checked at vn5socks.net
LIVE ~ 119.55.226.96:37106 | 0.119 | Changchun | 05 | Unknown | China | Checked at vn5socks.net
LIVE ~ 47.93.84.168:1081 | 0.086 | Ottawa | ON | k1y4h7 | Canada | Checked at vn5socks.net
LIVE ~ 72.221.164.35:60670 | 0.341 | Unknown | Unknown | Unknown | United States | Checked at vn5socks.net
LIVE ~ 72.49.49.11:31034 | 0.313 | Cincinnati | OH | 45213 | United States | Checked at vn5socks.net
LIVE ~ 136.244.66.25:33282 | 0.234 | New London | CT | 06320 | United States | Checked at vn5socks.net
LIVE ~ 125.89.10.128:27289 | 0.15 | Zhuhai | 30 | Unknown | China | Checked at vn5socks.net
LIVE ~ 113.57.56.21:35554 | 0.199 | Hubei | 03 | Unknown | China | Checked at vn5socks.net
LIVE ~ 155.138.142.99:30564 | 0.258 | University Center | MI | 48710 | United States | Checked at vn5socks.net
LIVE ~ 37.230.136.43:19031 | 0.24 | Unknown | Unknown | Unknown | Russian Federation | Checked at vn5socks.net
LIVE ~ 37.57.107.99:9999 | 0.271 | Unknown | Unknown | Unknown | Ukraine | Checked at vn5socks.net
LIVE ~ 45.77.106.122:13802 | 0.268 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
LIVE ~ 54.188.198.118:9146 | 0.258 | Woodbridge | NJ | 07095 | United States | Checked at vn5socks.net
LIVE ~ 54.188.198.118:9066 | 0.272 | Woodbridge | NJ | 07095 | United States | Checked at vn5socks.net
LIVE ~ 80.233.134.119:9300 | 0.248 | Unknown | Unknown | Unknown | Latvia | Checked at vn5socks.net


FireHeaven
Reviewed by FireHeaven on
.
[Vn5socks.net] Auto update 24/7 – Good socks 9h45 PM
LIVE ~ 49.70.142.246:33403 | 0.106 | Nanjing | 04 | Unknown | China | Checked at vn5socks.net
LIVE ~ 37.230.136.43:19059 | 0.203 | Unknown | Unknown | Unknown | Russian Federation | Checked at vn5socks.net
LIVE ~ 115.150.164.246:27221 | 0.113 | Beijing | 22 | Unknown | China | Checked at vn5socks.net
LIVE ~ 115.223.165.142:37484 | 0.19 | Wenzhou | 02 | Unknown | China | Checked at vn5socks.net
LIVE ~ 119.55.226.96:37106 | 0.119 | Changchun | 05 | Unknown |

Rating: 5



.

[Vn5socks.net] Auto update 24/7 – Good socks 10h00 PM


LIVE ~ 170.106.151.211:1088 | 0.268 | Parsippany | NJ | 07054 | United States | Checked at vn5socks.net
LIVE ~ 173.254.222.170:1090 | 0.23 | Los Angeles | CA | 90014 | United States | Checked at vn5socks.net
LIVE ~ 181.6.4.155:9999 | 0.403 | Buenos Aires | 07 | Unknown | Argentina | Checked at vn5socks.net
LIVE ~ 181.3.24.221:9999 | 0.436 | Buenos Aires | 07 | Unknown | Argentina | Checked at vn5socks.net
LIVE ~ 185.43.6.164:1040 | 0.214 | Unknown | Unknown | Unknown | Europe | Checked at vn5socks.net
LIVE ~ 37.230.136.43:19031 | 0.733 | Unknown | Unknown | Unknown | Russian Federation | Checked at vn5socks.net
LIVE ~ 181.102.76.107:9999 | 0.45 | Unknown | Unknown | Unknown | Argentina | Checked at vn5socks.net
LIVE ~ 181.4.0.16:9999 | 0.481 | Buenos Aires | 07 | Unknown | Argentina | Checked at vn5socks.net
LIVE ~ 80.233.134.119:9300 | 0.325 | Unknown | Unknown | Unknown | Latvia | Checked at vn5socks.net
LIVE ~ 82.165.137.115:7061 | 0.219 | Unknown | Unknown | Unknown | Germany | Checked at vn5socks.net
LIVE ~ 37.230.136.43:19059 | 0.218 | Unknown | Unknown | Unknown | Russian Federation | Checked at vn5socks.net
LIVE ~ 54.38.51.223:14159 | 0.201 | Woodbridge | NJ | 07095 | United States | Checked at vn5socks.net
LIVE ~ 54.188.198.118:9066 | 0.256 | Woodbridge | NJ | 07095 | United States | Checked at vn5socks.net
LIVE ~ 155.138.142.99:30564 | 0.254 | University Center | MI | 48710 | United States | Checked at vn5socks.net
LIVE ~ 45.77.106.122:13802 | 0.472 | Unknown | Unknown | Unknown | Unknown | Checked at vn5socks.net
LIVE ~ 158.69.243.148:9999 | 0.286 | Lake Forest | CA | 92630 | United States | Checked at vn5socks.net
LIVE ~ 163.172.7.233:9090 | 0.185 | Southend | M5 | Unknown | United Kingdom | Checked at vn5socks.net
LIVE ~ 161.97.97.231:10058 | 0.264 | Boulder | CO | 80301 | United States | Checked at vn5socks.net


FireHeaven
Reviewed by FireHeaven on
.
[Vn5socks.net] Auto update 24/7 – Good socks 10h00 PM
LIVE ~ 170.106.151.211:1088 | 0.268 | Parsippany | NJ | 07054 | United States | Checked at vn5socks.net
LIVE ~ 173.254.222.170:1090 | 0.23 | Los Angeles | CA | 90014 | United States | Checked at vn5socks.net
LIVE ~ 181.6.4.155:9999 | 0.403 | Buenos Aires | 07 | Unknown | Argentina | Checked at vn5socks.net
LIVE ~ 181.3.24.221:9999 | 0.436 | Buenos Aires | 07 | Unknown | Argentina | Checked at vn5socks.net
LIVE ~ 185.43.6.164:1040 | 0.214 | Unknown | Unknown |

Rating: 5



.

soft question – What will stand in for the JMM Employment Center this year?

The Joint Mathematics Meetings will be virtual this year, and there is no indication of there being an Employment Center (virtual or otherwise). What is the story with the Employment Center? Will it be delayed or held at MathFest or some such thing?

This has to do with research only tangentially…particularly if we can get people jobs so they can do the research!

zoom – Cause of bokeh with dark ring and bright center

Lenses suffer from defects called aberrations, there are 7 major types. One type is called chromatic aberration. Chromatic aberration is always present, the lens maker strives to mitigate but can’t eliminate. Each color of light, as it traverses the lens, is refracted at a slightly different angle. This results is, each color coming to a focus at a different distance from the lens. In other words each color has a slightly different focal length.

Now a positive lens (convex) and a negative lens (concave) have opposite chromatic aberration properties. The lens maker combines a strong positive with a weak negative in an attempt to mitigate. Again, the chromatic aberration is reduced but not eliminated.

The shorter frequencies of violet and blue come to a focus closer to lens. The warmer colors like orange and red come to a focus further downstream.

Thus each color has a different projection distance (focal length). The lens maker strives to cause the blue and red image to coincide. As you zoom the lens, the focal length increase and thus the aberrations worsen. At maximum zoom, the different projection distances become apparent. Each color will have a slightly different image size. This results in a color fringing surrounding the edges of objects. Which will be the outmost fringe color? This depends on the tiny residual error in chromatic aberration. In this case, blue becomes the larger of images.

images of a point sources images aa a blurry center surrounded by rings of light like a bull’s eye target. These are out-of-focus point source images.

SharePoint servers moving to a different data center

our SharePoint 2010 and 2013 farms are moving to a different data server (actually AWS). Is there any checklist or excel script that I can use to verify that all functions are working properly? (for example, SSL, Email like when you add someone they get an email, DNS, User Profile Syncs). I really really need this. Can anyone share if you already have one? I can’t think off all the stuff I need to verify after the lift/shift.

pivot table – Excel PivotTable Date Grouping in 24-hr Center

I am attempting to analyze data of agents working in my company that runs 24/7. I was going to construct a pivot table to show the daily operations of each individual. This fit most of my needs however, being a 24-hour business, some agents work overnight (ie. 8pm-4am), and this is causing the data to be inaccurate when viewing those members by day as it includes half of 2 shifts rather than their whole shift. The data I have has the time/day listed for each action the agent has taken over a period of time. Any assistance to properly group the dates would be very much appreciated.

Picture for some data reference