GET / HTTP/1.1 Host: 158.255.65.36:7547 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Content-Length: 0 array( 'single' => TRUE, 'title' => t('Node comments'), 'icon' => 'icon_node.png', 'description' => t('The comments of the referenced node.'), 'required context' => new ctools_context_required(t('Node'), 'node'), 'category' => t('Node'), 'defaults' => array( 'mode' => variable_get('comment_default_mode', COMMENT_MODE_THREADED), 'comments_per_page' => variable_get('comment_default_per_page', '50'), ), ); } function ctools_node_comments_content_type_render($subtype, $conf, $panel_args, $context) { $node = isset($context->data) ? clone($context->data) : NULL; $block = new stdClass(); $block->module = 'comments'; $block->delta = $node->nid; $block->title = t('Comments'); if (empty($node)) { $block->content = t('Node comments go here.'); } else if ($node->comment) { $block->content = ctools_comment_render($node, $conf); // Update the history table, stating that this user viewed this node. node_tag_new($node); } return $block; } function ctools_node_comments_content_type_edit_form($form, &$form_state) { $conf = $form_state['conf']; $form['mode'] = array( '#type' => 'select', '#title' => t('Mode'), '#default_value' => $conf['mode'], '#options' => _comment_get_modes(), '#weight' => 1, ); foreach (_comment_per_page() as $i) { $options[$i] = t('!a comments per page', array('!a' => $i)); } $form['comments_per_page'] = array('#type' => 'select', '#title' => t('Pager'), '#default_value' => $conf['comments_per_page'], '#options' => $options, '#weight' => 3, ); return $form; } function ctools_node_comments_content_type_edit_form_submit($form, &$form_state) { // Copy everything from our defaults. foreach (array_keys($form_state['plugin']['defaults']) as $key) { $form_state['conf'][$key] = $form_state['values'][$key]; } } function ctools_node_comments_content_type_admin_title($subtype, $conf, $context) { return t('"@s" comments', array('@s' => $context->identifier)); } /** * This function is a somewhat stripped down version of comment_render * that removes a bunch of cruft that we both don't need, and makes it * difficult to modify this. */ function ctools_comment_render($node, $conf) { $output = ''; if (!user_access('access comments') || !$node->comment) { return; } $mode = $conf['mode']; $comments_per_page = $conf['comments_per_page']; // Multiple comment view $query = db_select('comment', 'c')->extend('PagerDefault'); $query->addField('c', 'cid'); $query ->condition('c.nid', $node->nid) ->addTag('node_access') ->limit($comments_per_page); $count_query = db_select('comment', 'c'); $count_query->addExpression('COUNT(*)'); $count_query ->condition('c.nid', $node->nid) ->addTag('node_access'); if (!user_access('administer comments')) { $query->condition('c.status', COMMENT_PUBLISHED); $count_query->condition('c.status', COMMENT_PUBLISHED); } if ($mode === COMMENT_MODE_FLAT) { $query->orderBy('c.cid', 'ASC'); } else { // See comment above. Analysis reveals that this doesn't cost too // much. It scales much much better than having the whole comment // structure. $query->orderBy('SUBSTRING(c.thread, 1, (LENGTH(c.thread) - 1))', 'ASC'); } $query->setCountQuery($count_query); $cids = $query->execute()->fetchCol(); $comments = comment_load_multiple($cids); if ($comments) { drupal_add_css(drupal_get_path('module', 'comment') . '/comment.css'); comment_prepare_thread($comments); $build = comment_view_multiple($comments, $node); $build['pager']['#theme'] = 'pager'; return drupal_render($build); } return; } Impérial, Humbert se qualifie pour les 1/4 à Shanghaï | TennisLeader.fr
-A +A
0
ATP

Richard Alvear - Publié le 11/10/2023

Impérial, Humbert se qualifie pour les 1/4 à Shanghaï

Chapô: 

Ce mercredi matin, Ugo Humbert (34ème ATP) s'est montré impérial en 1/8èmes du Masters 1000 de Shanghaï en dominant en deux sets (6/1 6/2) JJ Wolf (51ème ATP). En 1/4 de finale, le Messin affrontera le vainqueur de Andrey Rublev (7ème ATP)/ Tommy Paul (12ème ATP).

Ugo Humbert s'est baladé ce mercredi en 1/8èmes de finale à Shanghaï - © Belga - Icon Sport
Ugo Humbert s'est baladé ce mercredi en 1/8èmes de finale à Shanghaï - © Belga - Icon Sport

Ce mercredi matin en 1/8èmes de finale du Masters 1000 de Shanghaï (Chine, dur)Ugo Humbert (34ème ATP) a confirmé sa très belle perf' des 1/16èmes de finale où il avait dominé Stefanos Tsitsipas (6ème ATP) en 3 sets (6/4 3/6 7/5). Cette fois, le Messin a réalisé une véritable démonstration "express" en 58 minutes en balayant l'Américain JJ Wolf (51ème ATP) en deux petits sets (6/1 6/2), sans concéder la moindre balle de break. Impérial au service avec 92% de points remportés derrière sa première balle, le N°2 français l'a tout autant été au retour avec 4 breaks réalisés, avec au total un match quasiment parfait. En 1/4 finale, le 34ème mondial va affronter le vainqueur de Andrey Rublev (7ème ATP)/ Tommy Paul (12ème ATP).